code: def get_category_by_id(self, cid):
          
          self._cache_init()
          return self._cache_get_entry(self.CACHE_NAME_IDS, cid)
docs: Returns Category object by its id.
  
          :param str cid:
          :rtype: Category
          :return: category object