-
Notifications
You must be signed in to change notification settings - Fork 21
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
Add support BasicInterpolation from python configparser #36
Comments
I see two ways to go about it, one is getter-level interpolation which is fairly easy but adds more functions, |
It seems like even |
What sort of API are you hoping for? We ended up implementing it on top of the library, but it would be nice to upstream it if possible. It does introduce new failure modes though: for our use case, we ended up ignoring invalid interpolation and just passing through the value directly, but I have to imagine some people would prefer to receive that error. |
In the python version, we have special variables like %(here) which is very helpful for big config files, but mostly it's needed for interoperability.
https://docs.python.org/3/library/configparser.html#configparser.BasicInterpolation
The text was updated successfully, but these errors were encountered: