Simple dynamic config backend.
Definition at line 216 of file dynamic_config.py.
|
| | __init__ (self, *ConfigDict initial_values, typing.Iterable[str] config_cache_components, caches.InvalidationState cache_invalidation_state, _Changelog changelog) |
| |
| | set_values (self, ConfigDict values) |
| |
| | set_values_unsafe (self, ConfigDict values) |
| |
| | set (self, **values) |
| |
| ConfigDict | get_values_unsafe (self) |
| |
| typing.Any | get (self, str key, typing.Any default=None) |
| |
| | remove_values (self, keys) |
| |
| | remove (self, key) |
| |
| typing.Any | modify (self, str key) |
| |
| typing.Tuple[typing.Any,...] | modify_many (self, *typing.Tuple[str,...] keys) |
| |
◆ __init__()
| pytest_userver.plugins.dynamic_config.DynamicConfig.__init__ |
( |
| self, |
|
|
*ConfigDict | initial_values, |
|
|
typing.Iterable[str] | config_cache_components, |
|
|
caches.InvalidationState | cache_invalidation_state, |
|
|
_Changelog | changelog ) |
◆ _sync_with_service()
| pytest_userver.plugins.dynamic_config.DynamicConfig._sync_with_service |
( |
| self | ) |
|
|
protected |
◆ get()
| typing.Any pytest_userver.plugins.dynamic_config.DynamicConfig.get |
( |
| self, |
|
|
str | key, |
|
|
typing.Any | default = None ) |
◆ get_values_unsafe()
| ConfigDict pytest_userver.plugins.dynamic_config.DynamicConfig.get_values_unsafe |
( |
| self | ) |
|
◆ modify()
| typing.Any pytest_userver.plugins.dynamic_config.DynamicConfig.modify |
( |
| self, |
|
|
str | key ) |
◆ modify_many()
| typing.Tuple[typing.Any, ...] pytest_userver.plugins.dynamic_config.DynamicConfig.modify_many |
( |
| self, |
|
|
*typing.Tuple[str, ...] | keys ) |
◆ remove()
| pytest_userver.plugins.dynamic_config.DynamicConfig.remove |
( |
| self, |
|
|
| key ) |
◆ remove_values()
| pytest_userver.plugins.dynamic_config.DynamicConfig.remove_values |
( |
| self, |
|
|
| keys ) |
◆ set()
| pytest_userver.plugins.dynamic_config.DynamicConfig.set |
( |
| self, |
|
|
** | values ) |
◆ set_values()
| pytest_userver.plugins.dynamic_config.DynamicConfig.set_values |
( |
| self, |
|
|
ConfigDict | values ) |
◆ set_values_unsafe()
| pytest_userver.plugins.dynamic_config.DynamicConfig.set_values_unsafe |
( |
| self, |
|
|
ConfigDict | values ) |
◆ _cache_invalidation_state
| pytest_userver.plugins.dynamic_config.DynamicConfig._cache_invalidation_state |
|
protected |
◆ _changelog
| pytest_userver.plugins.dynamic_config.DynamicConfig._changelog |
|
protected |
◆ _config_cache_components
| pytest_userver.plugins.dynamic_config.DynamicConfig._config_cache_components |
|
protected |
◆ _values
| pytest_userver.plugins.dynamic_config.DynamicConfig._values |
|
protected |
The documentation for this class was generated from the following file: