cache¶
- data_base.dbopen.cache(function)¶
Cache the result of a function.
- Parameters:¶
- function : callable¶
The function to cache.
- Returns:¶
The cached function.
- Return type:¶
callable
Example
>>> cache(my_function)(*args, **kwargs)
Documentation unclear, incomplete, broken or wrong? Let us know