

def delete_record(self, model_id, record_id):
    doc = self.__get_raw_record(model_id, record_id)
    if doc:
        del self._db['records'][model_id][record_id]
    return doc

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