brightway-lca / bw_hestia_bridge

Consume the HESTIA API in Brightway
https://docs.brightway.dev/projects/hestiabridge/
MIT License
1 stars 0 forks source link

Switch "hestia_api" to "use_staging" boolean #31

Closed tfardet closed 1 year ago

tfardet commented 1 year ago

To avoid having to search for the API URL, it will be included in the source and switch between stable and staging will just be done via:

set_config("use_staging", True/False)
save_config()  # optional, to remember the config from one run to another