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