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 InputsImported from:
from indico.queries.datasets import DeleteDataset
id: intId of the dataset. (required)
Ouputs
DeleteDataset OutputsReturns:
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)
)
Updated 5 months ago
