16 def invalidate_all(self) -> None:
19 def invalidate(self, caches: typing.Iterable[str]) ->
None:
24 def should_update_all_caches(self) -> bool:
28 def caches_to_update(self) -> typing.FrozenSet[str]:
33 def has_caches_to_update(self) -> bool:
35 return caches
is None or bool(caches)
37 def on_caches_updated(self, caches: typing.Iterable[str]) ->
None:
41 def on_all_caches_updated(self) -> None:
44 def assign_copy(self, other:
'InvalidationState') ->
None: