(self, label)
Add a label to the resource.

        Args:
            label (str): string with the label information.
Add a label to the resource.
Add a label to the resource .
def add_label(self, label):
        """Add a label to the resource.

        Args:
            label (str): string with the label information.
        """
        if label in self._labels:
            return
        self._labels.append(label)
        self.save()
def add_label ( self , label ) : if label in self . _labels : return self . _labels . append ( label ) self . save ( )