get_spatial_from_asset#
- nominal.experimental.spatial.get_spatial_from_asset(asset: Asset, data_scope_name: str) Spatial#
Retrieve a spatial from an asset by data scope name.
- Parameters:
asset – Asset to resolve the scope on.
data_scope_name – Name of the asset data scope to resolve.
- Returns:
The spatial associated with the data scope name.
- Raises:
NominalNotFoundError – If no readable spatial has this data scope name.