Index
file_cache(*, ext, domain)
¶
Caches the result of a function to a file.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
ext
|
str
|
The file extension for the cache file. |
required |
domain
|
str
|
The domain name for the cache file. |
required |
Returns:
| Type | Description |
|---|---|
Callable
|
A wrapper function that caches the result of the original function. |