Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Environment variables in config files #839

Open
gonzaponte opened this issue Jun 19, 2023 · 0 comments
Open

Environment variables in config files #839

gonzaponte opened this issue Jun 19, 2023 · 0 comments

Comments

@gonzaponte
Copy link
Collaborator

The current code to read config files only interprets environment variables in two cases:

  • When a file is included in the config file through the include function
  • For the input and output files

Moreover, the two cases are handled by two separate entities. While the configure.py module manages the first, the city decorator in components.py takes care of the second. I propose we

  • unify the handling of environment variables in configure.py
  • apply environment variable expansion to all relevant parameters in the config file (not only input and output files).
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

1 participant