def delete(self, id):
        db_obj = objects.registry.Component.get_by_uuid(self.context, id)
        db_obj.destroy(self.context)
setModelData(editor: QStringEdit,
dataset/ETHPy150Open openstack/solum/solum/api/handlers/component_handler.py/ComponentHandler.delete--crossover with--dataset/ETHPy150Open VisTrails/VisTrails/vistrails/gui/mashups/alias_inspector.py/QListEditItemDelegate.setModelData