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

Does PyStaticConfiguration support extending another yaml #89

Open
mwaaas opened this issue Jan 20, 2017 · 2 comments
Open

Does PyStaticConfiguration support extending another yaml #89

mwaaas opened this issue Jan 20, 2017 · 2 comments
Labels

Comments

@mwaaas
Copy link

mwaaas commented Jan 20, 2017

support for extending yaml in static configuration like this package https://github.com/andreypopp/configure

@dnephin
Copy link
Owner

dnephin commented Jan 20, 2017

The extending/overriding of values works differently in staticconf. There's no references to other files from a config file. Instead you can load files over each other:

staticconf.YamlConfiguration('base.yaml')
staticconf.YamlConfiguration('override.yaml')

@msmerc
Copy link

msmerc commented Mar 3, 2017

Any thoughts on allowing the yaml files themselves to specify what should be included? Something like:

foo:
   - !include bar.yaml

Or whatever?

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

No branches or pull requests

3 participants