Writing settings.toml every time an entry got updated or added #592
Unanswered
dimasahmad
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Hello, thank you for your code, I accidentally stumbled upon this library today and noticed that it is not possible to write the configuration directly to a file. It took me several hours of experimentation to get your code up and running. I think would not be bad to make a PR to the library itself
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I need to add some persistence when my app updated the configurations. What's the best way to do it with dynaconf? Do I really have to implement my own function, not able to extend the
__setattr__
to automatically write config to the toml file?My current code:
It throws an
AttributeError
exception:Beta Was this translation helpful? Give feedback.
All reactions