Skip to main content
Version: 0.93

snorkelflow.client.utils.get_dataset_uid

snorkelflow.client.utils.get_dataset_uid(dataset)

Fetch the UID of a dataset by name or UID

Parameters

NameTypeDefaultInfo
datasetUnion[str, int]Name or UID of the dataset.

Returns

UID of the dataset

Return type

int

Raises

ValueError – If a dataset doesn’t exist.