trolly/label.py
def _update_label_name(self, name):
        '''
        Update the current label's name. Returns a new Label object.
        '''
        label_json = self.fetch_json(
            uri_path=self.base_uri,
            http_method='PUT',
            query_params={'name': name}
        )

        return self.create_label(label_json)
def _update_label_name(self, name):
        '''
        Update the current label's name. Returns a new Label object.
        '''
        label_json = self.fetch_json(
            uri_path=self.base_uri,
            http_method='PUT',
            query_params={'name': name}
        )

        return self.create_label(label_json)
def _update_label_name ( self , name ) : label_json = self . fetch_json ( uri_path = self . base_uri , http_method = 'PUT' , query_params = { 'name' : name } ) return self . create_label ( label_json )
Update the current label's name. Returns a new Label object.
Update the current label s name . Returns a new Label object .