code: def cached(cls, timeout=60, cache_none=False):
          
          return CachedModel(cls=cls, timeout=timeout, cache_none=cache_none)
docs: Cache queries
  
          :param timeout: cache timeout
          :param cache_none: cache None result
  
          Usage::
  
          >>> Model.cached(60).query({...})