ahvn.cache.no_cache module¶

No-op cache implementation (always misses).

class ahvn.cache.no_cache.NoCache(exclude=None, *args, **kwargs)[source]¶

Bases: BaseCache

An implementation of BaseCache that does not cache any data.

Parameters:

exclude (Iterable[str] | None)

__init__(exclude=None, *args, **kwargs)[source]¶

Initialization.

Parameters:
  • exclude (Optional[Iterable[str]]) – Keys to exclude from inputs when creating cache entries.

  • *args – Additional positional arguments.

  • **kwargs – Additional keyword arguments.