data_baseutilscache

cache

data_base.utils.cache(function)

Decorator to cache the result of a function

Parameters:

function (function) – the function to be cached

Returns:

the cached function

Return type:

function