Currently esg_init.py is executed at the end of the bootstrapper. esg_init is a list of variables and some logic for determining variables. The variables are then written to esg_config.yaml. esg_config.yaml is read by each module that requires some configuration information.
This could be simplified by creating a dictionary to store config values as a variable in esg_init.py (or rename to esg_config.py). This config variable can then be used by other modules by being imported.
Currently esg_init.py is executed at the end of the bootstrapper. esg_init is a list of variables and some logic for determining variables. The variables are then written to esg_config.yaml. esg_config.yaml is read by each module that requires some configuration information.
This could be simplified by creating a dictionary to store config values as a variable in esg_init.py (or rename to esg_config.py). This config variable can then be used by other modules by being imported.
Investigate this approach