Skip to main content
Version: 26.1

snorkelai.sdk.client.utils

Utility functions.

Functions

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_source_uid(source_name)Translate a source_name to a source_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.
validate_traces(trace_csv_file_path, ...)Validate the traces in the trace CSV file.