Skip to main content
Version: 25.4

snorkelflow.client.nodes.get_node_uid

warning

This is a beta function in 25.4. Beta features may have known gaps or bugs, but are functional workflows and eligible for Snorkel Support. To access beta features, contact Snorkel Support to enable the feature flag for your Snorkel-hosted instance.

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]