allensdk.core.cache_method_utilities module

class allensdk.core.cache_method_utilities.CachedInstanceMethodMixin[source]

Bases: object

cache_clear(self)[source]

Calls cache_clear method on all bound methods in this instance (where valid). Intended to clear calls cached with the memoize decorator. Note that this will also clear functions decorated with lru_cache and lfu_cache in this class (or any other function with cache_clear attribute).