def soft_delete(self, session):
        self.deleted = self.id
        self.deleted_at = timeutils.utcnow()
        self.save(session=session)
Mark this object as deleted.
dataset/ETHPy150Open openstack/rack/rack/openstack/common/db/sqlalchemy/models.py/SoftDeleteMixin.soft_delete