Python module that provides classes and constants that may be useful when working with the dynamic config in testsuite.
Classes | |
class | _Changelog |
class | _ChangelogEntry |
class | _ConfigEntry |
class | _Missing |
class | _RemoveKey |
class | _Updates |
class | BaseError |
Base class for exceptions from this module. More... | |
class | DynamicConfig |
Simple dynamic config backend. More... | |
class | DynamicConfigNotFoundError |
Config parameter was not found and no default was provided. More... | |
class | DynamicConfigUninitialized |
Calling dynamic_config.get before defaults are fetched from the service. More... | |
class | InvalidDefaultsError |
Dynamic config defaults action returned invalid response. More... | |
class | UnknownConfigError |
Invalid dynamic config name in @pytest.mark.config More... | |
class | UseStaticDefault |
Functions | |
_ConfigDict | _create_config_dict (ConfigValuesDict values, Optional[Set[str]] kill_switches_disabled=None) |
Variables | |
ConfigValuesDict = Dict[str, Any] | |
_REMOVE_KEY = _RemoveKey() | |
_MISSING = _Missing() | |
_ConfigDict = Dict[str, _ConfigEntry | _RemoveKey] | |
USE_STATIC_DEFAULT = UseStaticDefault() | |
|
protected |
Definition at line 74 of file dynconf.py.
|
protected |
Definition at line 71 of file dynconf.py.
|
protected |
Definition at line 62 of file dynconf.py.
|
protected |
Definition at line 55 of file dynconf.py.
pytest_userver.dynconf.ConfigValuesDict = Dict[str, Any] |
Definition at line 48 of file dynconf.py.
pytest_userver.dynconf.USE_STATIC_DEFAULT = UseStaticDefault() |
Definition at line 387 of file dynconf.py.