xpublish.Rest.get_dataset_from_plugins#
- Rest.get_dataset_from_plugins(dataset_id)[source]#
Attempt to load dataset from plugins, otherwise return dataset from passed in dictionary of datasets
- Parameters
dataset_id (
str
) – Unique key of dataset to attempt to load from plugins or those provided toxpublish.Rest
at initialization.- Return type
- Returns
Dataset for selected
dataset_id
- Raises
FastAPI.HTTPException – When a dataset is not found a 404 error is returned.