(self)
return [x.label for x in self.labels]
Returns a list of all applied labels.

        Returns:
            A list of strings with all the applied labels.
Returns a list of all applied labels.
Returns a list of all applied labels .
def get_labels(self):
        """Returns a list of all applied labels.

        Returns:
            A list of strings with all the applied labels.
        """
        if not self.labels:
            return []

        return [x.label for x in self.labels]
def get_labels ( self ) : if not self . labels : return [ ] return [ x . label for x in self . labels ]