Caching#

cache_result#

tkclasswiz.cache.cache_result(max: int = 256)#

Caching function that also allows dictionary and lists to be used as a key.

Parameters:

max (int) – The maximum number of items inside the cache.