lair.records.Cacher.__call__#

Cacher.__call__(*args, **kwargs)[source]#

Return the cached result, or call the function and cache its result.

Parameters:

args (tuple) – The arguments to be passed to the function.

Returns:

Any – The result of the function call.