xpublish.Rest.get_datatree_from_plugins#

Rest.get_datatree_from_plugins(dataset_id, group='')[source]#

Resolve a DataTree by dataset_id (and optional group).

When used as a FastAPI dependency, group is auto-extracted from the route’s {group_path:path} segment via get_group_path(). When called directly, group defaults to the empty string (returning the root tree) and may be passed explicitly to navigate into the tree.

Return type:

DataTree