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
How could I specify a default value for the missing environment variable in the configuration provider?
For example: pseudo code
config = dependency_injector.providers.Configuration() config.from_yaml("conf.yml") print(config.some_key.size) -> will print ${SOME_KEY_SIZE} if envvar is missing
conf file
some_key: size: ${SOME_KEY_SIZE}
or maybe we could leave such cases with empty/none values? for e.g.