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

Detailed Description

Definition at line 42 of file caches.py.

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

 _invalidated_caches
 

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 43 of file caches.py.

Member Function Documentation

◆ assign_copy()

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

Definition at line 76 of file caches.py.

◆ caches_to_update()

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

Definition at line 60 of file caches.py.

◆ has_caches_to_update()

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

Definition at line 65 of file caches.py.

◆ invalidate()

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

Definition at line 51 of file caches.py.

◆ invalidate_all()

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

Definition at line 48 of file caches.py.

◆ on_all_caches_updated()

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

Definition at line 73 of file caches.py.

◆ on_caches_updated()

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

Definition at line 69 of file caches.py.

◆ should_update_all_caches()

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

Definition at line 56 of file caches.py.

Member Data Documentation

◆ _invalidated_caches

pytest_userver.plugins.caches.InvalidationState._invalidated_caches
protected

Definition at line 49 of file caches.py.


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