tfchain/internal/HttpClient.py
def _updateUrlParams(self, url, **kwargs):
        """
        update the params of the url
        """
        _scheme, _netloc, _url, _params, _query, _fragment = urlparse(url)
        params = urllib.parse.parse_qs(_query)
        # parse_qs puts the values in a list which corrupts the url later on
        for k, v in list(params.items()):
            params[k] = v.pop() if isinstance(v, list) else v

        for k, v in list(kwargs.items()):
            if v is not None:
                params[k] = v
        _query = urllib.parse.urlencode(params)
        return urlunparse((_scheme, _netloc, _url, _params, _query, _fragment))

        update the params of the url
        
update the params of the url
update the params of the url
def _updateUrlParams(self, url, **kwargs):
        _scheme, _netloc, _url, _params, _query, _fragment = urlparse(url)
        params = urllib.parse.parse_qs(_query)
        for k, v in list(params.items()):
            params[k] = v.pop() if isinstance(v, list) else v
        for k, v in list(kwargs.items()):
            if v is not None:
                params[k] = v
        _query = urllib.parse.urlencode(params)
        return urlunparse((_scheme, _netloc, _url, _params, _query, _fragment))
def _updateUrlParams ( self , url , ** kwargs ) : _scheme , _netloc , _url , _params , _query , _fragment = urlparse ( url ) params = urllib . parse . parse_qs ( _query ) for k , v in list ( params . items ( ) ) : params [ k ] = v . pop ( ) if isinstance ( v , list ) else v for k , v in list ( kwargs . items ( ) ) : if v is not None : params [ k ] = v _query = urllib . parse . urlencode ( params ) return urlunparse ( ( _scheme , _netloc , _url , _params , _query , _fragment ) )
update the params of the url
update the params of the url
"""
        update the params of the url
        """ # parse_qs puts the values in a list which corrupts the url later on
self
url