csle_rest_api.resources.traces_datasets package
Submodules
csle_rest_api.resources.traces_datasets.routes module
Routes and sub-resources for the /traces-datasets resource
- csle_rest_api.resources.traces_datasets.routes.download_dataset_file(traces_dataset: csle_common.dao.datasets.traces_dataset.TracesDataset) Tuple[flask.wrappers.Response, int] [source]
Downloads a dataset file
- Parameters
traces_dataset – the dataset file to download
- Returns
the HTTP response
- csle_rest_api.resources.traces_datasets.routes.traces_dataset(traces_dataset_id: int) Tuple[flask.wrappers.Response, int] [source]
The /traces-datasets/id resource.
- Parameters
traces_dataset_id – the id of the traces dataset
- Returns
The given traces dataset or deletes the traces dataset