def remove_item ( self , item ) : self . unindex_item ( item ) self . items . pop ( item . uuid , None )
how to remove something from an item python
Remove ( and un - index ) an object
def remove_item(self, item):
        """
        Remove (and un-index) an object

        :param item: object to remove
        :type item: alignak.objects.item.Item
        :return: None
        """
        self.unindex_item(item)
        self.items.pop(item.uuid, None)