Skip to main content
Version: 0.96

snorkelflow.client.utils

Utility functions.

Functions

get_application_uid(name)

Fetch the UID of an Application by name

get_batch_uid(node, batch_name)

Translate a batch_name to a batch_uid.

get_dataset_name(dataset_uid)

Fetch the UID of a Dataset by name

get_dataset_uid(dataset)

Fetch the UID of a dataset by name or UID

get_file_storage_config_uid(...)

Fetch the UID of a file storage config by name

get_lf_uid(node, lf_name)

Fetch the UID of an active LF by name.

get_operator_uid(operator_name)

Fetch the UID of an Operator by name.

get_source_uid(source_name)

Translate a source_name to a source_uid.

get_tag_type_uid(node, name[, ...])

Look up the tag_type_uid of a tag type by name.

get_user_uid(username)

Translate a username to a user_uid.

get_workspace_name(workspace_uid)

Fetch the name of a Workspace by UID

get_workspace_uid(workspace_name)

Fetch the UID of a Workspace by name

poll_job_status(job_id[, timeout, verbose])

Poll /jobs endpoint and print statuses.