Simple dynamic config backend.
More...
|
| __init__ (self, *typing.Dict[str, typing.Any] initial_values, typing.Iterable[str] config_cache_components, caches.InvalidationState cache_invalidation_state) |
|
| set_values (self, values) |
|
| get_values (self) |
|
| remove_values (self, keys) |
|
| set (self, **values) |
|
| get (self, key, default=None) |
|
| remove (self, key) |
|
Simple dynamic config backend.
Definition at line 32 of file dynamic_config.py.
◆ __init__()
pytest_userver.plugins.dynamic_config.DynamicConfig.__init__ |
( |
|
self, |
|
|
*typing.Dict[str, typing.Any] |
initial_values, |
|
|
typing.Iterable[str] |
config_cache_components, |
|
|
caches.InvalidationState |
cache_invalidation_state |
|
) |
| |
◆ _sync_with_service()
pytest_userver.plugins.dynamic_config.DynamicConfig._sync_with_service |
( |
|
self | ) |
|
|
protected |
◆ get()
pytest_userver.plugins.dynamic_config.DynamicConfig.get |
( |
|
self, |
|
|
|
key, |
|
|
|
default = None |
|
) |
| |
◆ get_values()
pytest_userver.plugins.dynamic_config.DynamicConfig.get_values |
( |
|
self | ) |
|
◆ 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, |
|
|
|
values |
|
) |
| |
◆ _cache_invalidation_state
pytest_userver.plugins.dynamic_config.DynamicConfig._cache_invalidation_state |
|
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:
- /data/code/service_template/third_party/userver/testsuite/pytest_plugins/pytest_userver/plugins/dynamic_config.py