userver: pytest_userver.plugins.caches.InvalidationState Class Reference
No Matches
pytest_userver.plugins.caches.InvalidationState Class Reference

Detailed Description

Definition at line 42 of file

Public Member Functions

 __init__ (self)
None invalidate_all (self)
None invalidate (self, typing.Iterable[str] caches)
bool should_update_all_caches (self)
typing.FrozenSet[str] caches_to_update (self)
bool has_caches_to_update (self)
None on_caches_updated (self, typing.Iterable[str] caches)
None on_all_caches_updated (self)
None assign_copy (self, 'InvalidationState' other)

Protected Attributes


Constructor & Destructor Documentation

◆ __init__()

pytest_userver.plugins.caches.InvalidationState.__init__ ( self)

Definition at line 43 of file

Member Function Documentation

◆ assign_copy()

None pytest_userver.plugins.caches.InvalidationState.assign_copy ( self,
'InvalidationState' other )

Definition at line 76 of file

◆ caches_to_update()

typing.FrozenSet[str] pytest_userver.plugins.caches.InvalidationState.caches_to_update ( self)

Definition at line 60 of file

◆ has_caches_to_update()

bool pytest_userver.plugins.caches.InvalidationState.has_caches_to_update ( self)

Definition at line 65 of file

◆ invalidate()

None pytest_userver.plugins.caches.InvalidationState.invalidate ( self,
typing.Iterable[str] caches )

Definition at line 51 of file

◆ invalidate_all()

None pytest_userver.plugins.caches.InvalidationState.invalidate_all ( self)

Definition at line 48 of file

◆ on_all_caches_updated()

None pytest_userver.plugins.caches.InvalidationState.on_all_caches_updated ( self)

Definition at line 73 of file

◆ on_caches_updated()

None pytest_userver.plugins.caches.InvalidationState.on_caches_updated ( self,
typing.Iterable[str] caches )

Definition at line 69 of file

◆ should_update_all_caches()

bool pytest_userver.plugins.caches.InvalidationState.should_update_all_caches ( self)

Definition at line 56 of file

Member Data Documentation

◆ _invalidated_caches


Definition at line 49 of file

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