pyphi.cache.policy#

Cache policy Protocol and adapters.

A CachePolicy is the uniform observability and control surface across all of PyPhi’s cache flavors: it declares only name, info(), and clear(). get / put / key are not part of it; their signatures differ across cache flavors.

Classes

CachePolicy(*args, **kwargs)

Uniform observability + control surface for caches.