List Datasets

List all of your datasets

Introduction

In order to retrieve a list of all the datasets currently available, use the query ListDatasets to do so.

ListDatasets

Inputs

📥

ListDatasets Inputs

Imported from: `from indico.queries.datasets import ListDatasets

limit: (int, default=100) Max number of datasets to retrieve (required)

Ouputs

📤

ListDatasets Outputs

Returns:List[Dataset]- A list of Dataset Objects (Check out Creating a Dataset for more information)

Try it out:

Try out the ListDatasets call:

from indico.queries.datasets import ListDatasets

datasets: list[Dataset] = client.call(
  ListDatasets(limit=1) # Limit to retrieving only one dataset (defaults to 100)
)