Deleting a Dataset

Delete a dataset

Introduction

DeleteDataset deletes an existing dataset.

Note: If you attempt to retrieve a dataset that was deleted using GetDataset, it will raise an IndicoRequestError.

DeleteDataset

Inputs

📥

DeleteDataset Inputs

Imported from: from indico.queries.datasets import DeleteDataset


id: int Id of the dataset. (required)

Ouputs

📤

DeleteDataset Outputs

Returns: boolBoolean value for whatever or not the operation was successful.

Try It Out:

Try out the DeleteDataset call:

from indico.queries.datasets import DeleteDataset 

dataset_id = 10 # Dummy data

success: bool = client.call(
  DeleteDataset(id=dataset_id)
)