qai_hub.get_datasets

get_datasets(offset=0, limit=50)

Returns a list of datasets visible to you.

Parameters:
  • offset (int) – Offset the query to get even older datasets.

  • limit (int) – Maximum numbers of datasets to return.

Returns:

dataset_list – List of datasets.

Return type:

List[Dataset]

Examples

Fetch Dataset objects for your five most recent datasets:

import qai_hub as hub

datasets = hub.get_datasets(limit=5)