List Datasets

Introduction

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

ListDatasets

Inputs

Imported from: from indico.queries.datasets import ListDatasets

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

Outputs

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)
)