trolly/card.py
def _add_label_from_dict(self, query_params=None):
        '''
        Add a label to this card, from a dictionary.
        '''
        return self.fetch_json(
            uri_path=self.base_uri + '/labels',
            http_method='POST',
            query_params=query_params or {}
        )
def _add_label_from_dict(self, query_params=None):
        '''
        Add a label to this card, from a dictionary.
        '''
        return self.fetch_json(
            uri_path=self.base_uri + '/labels',
            http_method='POST',
            query_params=query_params or {}
        )
Add a label to this card, from a dictionary.