Skip to main content

Memoized

A function wrapped by memoize: called as the function was, plus __cache_key__.

Usage

Source

Memoized()

Methods

Name Description
__cache_key__() The cache key a call with these arguments uses, for cache.delete(f.__cache_key__(...)).

__cache_key__()

The cache key a call with these arguments uses, for cache.delete(f.__cache_key__(...)).

Usage

Source

__cache_key__(*args, **kwargs)