

def __get_raw_record(self, model_id, record_id):
    try:
        return deepcopy(self._db['records'][model_id][record_id])
    except KeyError:
        raise backend_exceptions.RecordNotFound(('(%s, %s)' % (model_id, record_id)))

dataset/ETHPy150Open spiral-project/daybed/daybed/backends/memory/__init__.py MemoryBackend.__get_raw_record/original