def urlencode_params(params):
 params = [(key, normalize_for_urlencode(val)) for (key, val) in params]
 return requests.utils.unquote_unreserved(urlencode(params))

def urlencode_params ( params ) : params = [ ( key , normalize_for_urlencode ( val ) ) for ( key , val ) in params ] return requests . utils . unquote_unreserved ( urlencode ( params ) )
url encodes the parameters .