snorkelflow.client.utils.get_dataset_uid
- snorkelflow.client.utils.get_dataset_uid(dataset)
Fetch the UID of a dataset by name or UID
- Parameters:
dataset (
Union
[str
,int
]) – Name or UID of the dataset- Returns:
UID of the dataset
- Return type:
int
- Raises:
ValueError – If a dataset doesn’t exist.