def delete(self, id):
        id = self._validate_id_format(id)

        try:
            obj = self.objects[id]
            obj.delete()
        except KeyError:
            raise exceptions.IdNotFound(message='id %d does not exist' % id)
        except ValueError:
            raise exceptions.IdNotFound(message='id %d does not exist' % id)
dataset/ETHPy150Open rcbops/opencenter/opencenter/db/abstraction.py/APIAbstraction.delete/original