-
Notifications
You must be signed in to change notification settings - Fork 52
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
Update config file? #130
Comments
For the record I can do this with just dumping and ovewriting the yaml with config.dump by opening the file, writing to it and then closing it, but I was wondering if there was a more elegant solution provided by confuse (which is awesome by the way) |
I totally agree. The documentation is missing this important information:
The example application is missing this functionality too. |
Hello! I think the reason this is confusing is that this is not really a feature that Confuse has… it can format the "combined" configuration as a user-visible YAML file, but it doesn't have a direct facility to write this new configuration back to a file. So I have two thoughts:
|
Pretty new to python, I've been trying to read through the documentation, I am able to 'set' a parameter but that is only in runtime not actually updating the corresponding value in the yaml file, is there a relatively easy way to do this? I tried reading through the documentation and ran accross set_file but I havent had much luck.
The text was updated successfully, but these errors were encountered: