def get_item(self, obj):
        """Return a result item.

        :param obj: Instance object
        :returns: a dictionnary with at least `id` and `text` values
        """
        return {"id": obj.id, "text": self.get_label(obj), "name": obj.name}
Return a result item.

        :param obj: Instance object
        :returns: a dictionnary with at least `id` and `text` values