cache
¶
Functions:
-
file_cache–Chaches function, if 'forever' is True, cache will never expire (and 'expire_in_seconds' will be ignored).
Attributes:
-
clear_file_cache–Cleares cache.
Attributes¶
cachedir
module-attribute
¶
default_seconds
module-attribute
¶
Functions¶
file_cache
¶
file_cache(
func: None | Callable = None,
ignore: Sequence = [],
expire_in_seconds: int = default_seconds,
forever: bool = False,
) -> Any
Chaches function, if 'forever' is True, cache will never expire (and 'expire_in_seconds' will be ignored).