code: def set_record(self, name, record_id, record):
          
          if name not in self._cache:
              self._cache[name] = {}
          self._cache[name][record_id] = record
docs: Save a record into the cache.
  
          Args:
              name (string): The name to save the model under.
              record_id (int): The record id.
              record (:class:`cinder_data.model.CinderModel`): The model