Deleting a Dataset

Introduction

DeleteDataset deletes an existing dataset.

⚠️

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

DeleteDataset

Inputs

Imported from: from indico.queries.datasets import DeleteDataset

id: int ID of the dataset (required)

Outputs

bool: Boolean 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)
)