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

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

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