bw_hestia_bridge.importer
Classes
Import a Hestia cycle as a Brightway database. |
Module Contents
- class bw_hestia_bridge.importer.HestiaImporter(cycle_id: str, ecoinvent_label: str, expand_graph: bool | None = True, data_state: Literal['original', 'recalculated'] = 'recalculated', biosphere_label: str | None = 'biosphere3', staging: bool | None = None)[source]
Bases:
bw2io.importers.base_lci.LCIImporterImport a Hestia cycle as a Brightway database.
- Parameters:
cycle_id (str) – The Hestia ID for the cycle.
data_state (str, optional (default: recalculated)) – Whether to use recalculated data information from Hestia or the raw “original” data.
staging (bool, optional (default: from configuration)) – Whether to fetch the cycle from the staging Hestia API.