

def delete_records(self, model_id):
    results = self.get_records(model_id)
    del self._db['records'][model_id]
    return results

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