userver: pytest_userver.plugins.dynamic_config._Changelog Class Reference
No Matches
pytest_userver.plugins.dynamic_config._Changelog Class Reference

Detailed Description

Definition at line 91 of file

+ Collaboration diagram for pytest_userver.plugins.dynamic_config._Changelog:

Public Member Functions

 __init__ (self)
str service_timestamp (self)
str next_timestamp (self)
 tick (self)
Updates get_updated_since (self, ConfigDict values, str updated_since, typing.Optional[typing.List[str]] ids=None)
 add_entries (self, ConfigDict values)
 rollback (self, ConfigDict defaults)

Public Attributes


Static Public Attributes

_ChangelogEntry entry
typing entries .List[_ChangelogEntry]

Protected Member Functions

typing.Tuple[ConfigDict, typing.List[str]] _get_updated_since (self, ConfigDict values, str updated_since)
 _do_rollback (self, int first_index, ConfigDict defaults)

Constructor & Destructor Documentation

◆ __init__()

pytest_userver.plugins.dynamic_config._Changelog.__init__ ( self)

Definition at line 95 of file

Member Function Documentation

◆ _do_rollback()

pytest_userver.plugins.dynamic_config._Changelog._do_rollback ( self,
int first_index,
ConfigDict defaults )

Definition at line 169 of file

◆ _get_updated_since()

typing.Tuple[ConfigDict, typing.List[str]] pytest_userver.plugins.dynamic_config._Changelog._get_updated_since ( self,
ConfigDict values,
str updated_since )

Definition at line 133 of file

◆ add_entries()

pytest_userver.plugins.dynamic_config._Changelog.add_entries ( self,
ConfigDict values )

Definition at line 158 of file

◆ get_updated_since()

Updates pytest_userver.plugins.dynamic_config._Changelog.get_updated_since ( self,
ConfigDict values,
str updated_since,
typing.Optional[typing.List[str]] ids = None )

Definition at line 117 of file

◆ next_timestamp()

str pytest_userver.plugins.dynamic_config._Changelog.next_timestamp ( self)

Definition at line 107 of file

◆ rollback()

pytest_userver.plugins.dynamic_config._Changelog.rollback ( self,
ConfigDict defaults )

Definition at line 162 of file

◆ service_timestamp()

str pytest_userver.plugins.dynamic_config._Changelog.service_timestamp ( self)

Definition at line 104 of file

◆ tick()

pytest_userver.plugins.dynamic_config._Changelog.tick ( self)

Definition at line 111 of file

Member Data Documentation

◆ entries [1/2]

typing pytest_userver.plugins.dynamic_config._Changelog.entries .List[_ChangelogEntry]

Definition at line 93 of file

◆ entries [2/2]


Definition at line 102 of file

◆ entry

_ChangelogEntry pytest_userver.plugins.dynamic_config._Changelog.entry

Definition at line 92 of file

◆ last_entry


Definition at line 99 of file

◆ timestamp


Definition at line 96 of file

The documentation for this class was generated from the following file: