xpublish.Rest.get_dataset_from_plugins#
- Rest.get_dataset_from_plugins(dataset_id, group='')[source]#
Resolve a Dataset by
dataset_id(and optionalgroup).When used as a FastAPI dependency,
groupis auto-extracted from the route’s{group_path:path}segment viaget_group_path(). When called directly,groupdefaults to the empty string (returning the root dataset) and may be passed explicitly to navigate into the tree.- Return type:
- Returns:
Dataset for the selected
dataset_id(at the selected group node).- Raises:
FastAPI.HTTPException – When the dataset or group is not found.