py.lib.aw_config
2024-10-30
Parent:b76a704f31b1
py.lib.aw_config/src/aw_config/__init__.py
. Проброс исключения разбора переменных окружения в список для импорта приложениями
1.1 --- a/src/aw_config/__init__.py Wed Oct 30 10:14:24 2024 +0300 1.2 +++ b/src/aw_config/__init__.py Wed Oct 30 10:57:17 2024 +0300 1.3 @@ -1,5 +1,5 @@ 1.4 # coding: utf-8 1.5 -from .env import get_env 1.6 +from .env import get_env, EnvConfigError 1.7 from .type_helpers import ANY, DICT, LIST 1.8 from .file import ConfigFile, ConfigSectionNotFound, ConfigFileError 1.9 from .app_tools import get_app_root 1.10 @@ -10,7 +10,7 @@ 1.11 __all__ = [ 1.12 'get_env', 1.13 'ANY', 'DICT', 'LIST', 1.14 - 'ConfigFile', 'ConfigSectionNotFound', 'ConfigFileError', 1.15 + 'ConfigFile', 'ConfigSectionNotFound', 'ConfigFileError', 'EnvConfigError', 1.16 'get_app_root', 1.17 'get_config', 'init_configs', 'replace_config', 'add_config', 'AppConfNotFound', 'AppConfManagerError' 1.18 ]