flexmeasures.ui.utils.breadcrumb_utils
Functions
- flexmeasures.ui.utils.breadcrumb_utils.get_ancestry(entity: Sensor | Asset | Account | None) → list[dict]
Return a list of ancestors meta data, with URLs for their pages, their name and type. This function calls itself recursively to go up the ancestral tree, up to the account. This function also allows customization for assets and sensors (for this, set “breadcrumb_ancestry” attribute).