python-dependency-injector/examples/providers/configuration
Roman Mogylatov ef049daae5
463 Config environment variables interpolation required and nones (#467)
* Make prototype with enterpolation before parsing

* Add test for option.from_yaml() with missing env not required

* Make some cosmetic changes to _resolve_config_env_markers()

* Add test for option.from_ini() missing envs not required

* Skip schema test cause it requires internet connection

* Add tests for .from_yaml() for config and config option

* Add tests for .from_ini() for config and config option

* Add example for os.environ.setdefault() and envs interpolation

* Add/update docs on environment variables interpolation

* Update changelog
2021-06-24 16:00:36 +03:00
..
config-with-env-var.yml 463 Config environment variables interpolation required and nones (#467) 2021-06-24 16:00:36 +03:00
config.ini Add configuration provider docs 2020-06-25 17:12:16 -04:00
config.local.yml Add configuration provider docs 2020-06-25 17:12:16 -04:00
config.yml Add configuration provider docs 2020-06-25 17:12:16 -04:00
configuration_alias.py Configuration provider aliases (#397) 2021-02-15 09:11:39 -05:00
configuration_dict.py Add usage of the container to the configuration examples 2020-09-03 17:37:03 -04:00
configuration_env_interpolation_os_default.py 463 Config environment variables interpolation required and nones (#467) 2021-06-24 16:00:36 +03:00
configuration_env.py Add usage of the container to the configuration examples 2020-09-03 17:37:03 -04:00
configuration_ini.py Add usage of the container to the configuration examples 2020-09-03 17:37:03 -04:00
configuration_itemselector.py Add usage of the container to the configuration examples 2020-09-03 17:37:03 -04:00
configuration_multiple.py Add usage of the container to the configuration examples 2020-09-03 17:37:03 -04:00
configuration_pydantic.py Pydantic settings support (#388) 2021-02-03 09:21:32 -05:00
configuration_required.py Required config options and strict mode (#360) 2021-01-16 08:53:40 -05:00
configuration_strict.py Required config options and strict mode (#360) 2021-01-16 08:53:40 -05:00
configuration_type_custom.py Add usage of the container to the configuration examples 2020-09-03 17:37:03 -04:00
configuration_type.py Add usage of the container to the configuration examples 2020-09-03 17:37:03 -04:00
configuration_value.py 462 Config.from_value() (#465) 2021-06-13 22:05:29 -04:00
configuration_yaml.py Add usage of the container to the configuration examples 2020-09-03 17:37:03 -04:00
configuration.py Add usage of the container to the configuration examples 2020-09-03 17:37:03 -04:00