(self, by_label=False)
return [o.name for o in self.items]
Deprecated: return the names or labels of all possible items.

        Includes disabled items, which may be misleading for some use cases.
Deprecated: return the names or labels of all possible items.
Deprecated : return the names or labels of all possible items .
def possible_items(self, by_label=False):
        """Deprecated: return the names or labels of all possible items.

        Includes disabled items, which may be misleading for some use cases.

        """
        deprecation(
            "[item.name for item in self.items]")
        if by_label:
            res = []
            for o in self.items:
                for l in o.get_labels():
                    if l.text:
                        res.append(l.text)
                        break
                else:
                    res.append(None)
            return res
        return [o.name for o in self.items]
def possible_items ( self , by_label = False ) : deprecation ( "[item.name for item in self.items]" ) if by_label : res = [ ] for o in self . items : for l in o . get_labels ( ) : if l . text : res . append ( l . text ) break else : res . append ( None ) return res return [ o . name for o in self . items ]