You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For simple configurations, environment variables can be an easy and flexible mechanism. Therefore it would be useful to support binding from/to environment variables.
More complex configurations, in particular nested dataclasses, don't map to environment variables very well. In fact, that was one of the motivations for creating this library in the first place, as TOML can deal with complex configurations. But that shouldn't prevent us from supporting simple configurations.
I think the implementation shouldn't be hardcoded for environment variables and instead operate with any Mapping[str, str] data structure, with either a convenience method or a default that uses the environment.
The text was updated successfully, but these errors were encountered:
For simple configurations, environment variables can be an easy and flexible mechanism. Therefore it would be useful to support binding from/to environment variables.
More complex configurations, in particular nested dataclasses, don't map to environment variables very well. In fact, that was one of the motivations for creating this library in the first place, as TOML can deal with complex configurations. But that shouldn't prevent us from supporting simple configurations.
I think the implementation shouldn't be hardcoded for environment variables and instead operate with any
Mapping[str, str]
data structure, with either a convenience method or a default that uses the environment.The text was updated successfully, but these errors were encountered: