Skip to main content
Version: 0.94

snorkelflow.client.nodes.get_node_uid

snorkelflow.client.nodes.get_node_uid(application, search_op_type)

Returns all nodes in the application with a specified expected_op_type

Parameters

NameTypeDefaultInfo
applicationUnion[str, int]The name or UID of the application.
search_op_typeOptional[str]The search_op_type or expected_op_type of nodes to return. Set as None to get nodes with no expected op type set. Algorithm: If search_op_type is None, return all nodes with expected_op_type == None Elif node_op_type == node.op_type or node_op_type = node.expected_op_type add nodes to list of returned nodes.

Returns

A list of model node ids

Return type

List[int]