def __call__(self,
                 key=None,
                 time_expire=DEFAULT_TIME_EXPIRE,
                 cache_model=None):

        def tmp(func, cache=self, cache_model=cache_model):
            return CacheAction(func, key, time_expire, self, cache_model)
        return tmp
Decorator function that can be used to cache any function/method.
dataset/ETHPy150Open uwdata/termite-visualizations/web2py/gluon/cache.py/Cache.__call__