Skip to main content
Version: 25.6

snorkelai.sdk.client.nodes.get_node_uid

warning

This SDK function is not supported in Snorkel AI Data Development Platform v25.5 and later versions and will be removed in a future release. For assistance finding alternative approaches, please contact your Snorkel support team.

snorkelai.sdk.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]