Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Replace PyYAML config with OmegaConf #98

Open
klamann opened this issue Dec 21, 2022 · 0 comments
Open

Replace PyYAML config with OmegaConf #98

klamann opened this issue Dec 21, 2022 · 0 comments

Comments

@klamann
Copy link
Contributor

klamann commented Dec 21, 2022

OmegaConf is a YAML based hierarchical configuration system, with support for merging configurations from multiple sources (files, CLI argument, environment variables) providing a consistent API regardless of how the configuration was created. OmegaConf also offers runtime type safety via Structured Configs.

https://omegaconf.readthedocs.io/

With OmegaConf, we can implement features in YAML that we only used to have in HOCON so far, like config inheritance or variable substitution. In fact, OmegaConf handles these things far more consistently than pyhocon currently does.

Let's keep the "yaml" option, but replace the current PyYAML implementation with OmegaConf.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant