code: def cache_model(key_params, timeout='default'):
      
      def decorator_fn(fn):
          return CacheModelDecorator().decorate(key_params, timeout, fn)
  
      return decorator_fn
docs: Caching decorator for app models in task.perform