ezyquant.utils.cache_wrapper#

ezyquant.utils.cache_wrapper(func: Callable | None = None, maxsize: int = 128, is_copy: bool = True)#

Cache the result of a function using lru_cache.

Prase list arguments to sorted tuple and can return copy of result.