DatasetCollectionClient
Hierarchy
- BaseDatasetCollectionClient
- DatasetCollectionClient
Index
Methods
Methods
__init__
Parameters
optionalkeyword-onlymemory_storage_client: MemoryStorageClient
Returns None
get_or_create
Retrieve an existing dataset by its name or ID, or create a new one if it does not exist.
Parameters
optionalkeyword-onlyid: str | None = None
Optional ID of the dataset to retrieve or create. If provided, the method will attempt to find a dataset with the ID.
optionalkeyword-onlyname: str | None = None
Optional name of the dataset resource to retrieve or create. If provided, the method will attempt to find a dataset with this name.
optionalkeyword-onlyschema: dict | None = None
Optional schema for the dataset resource to be created.
Returns DatasetMetadata
list
List the available datasets.
Parameters
optionalkeyword-onlyunnamed: bool = False
Whether to list only the unnamed datasets.
optionalkeyword-onlylimit: int | None = None
Maximum number of datasets to return.
optionalkeyword-onlyoffset: int | None = None
Number of datasets to skip from the beginning of the list.
optionalkeyword-onlydesc: bool = False
Whether to sort the datasets in descending order.
Returns DatasetListPage
Subclient for manipulating datasets.