Helper to update a dataset
Depends #235 (closed)
Workers are responsible for updating the state of a Dataset. We need a new enum for DatasetState
, values open
, building
, complete
, error
.
And the new helper
def update_dataset_state(self, dataset: Dataset, state: DatasetState) -> Dataset