<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_records(self, name):
 """Return all the records for the given name in the cache. Args: name (string):
 The name which the required models are stored under. Returns: list: A list of :class:`cinder_data.model.CinderModel` models. """

        if name in self._cache:
            return self._cache[name].values()
        else:
            return []