def prepare_request_uri_query(oauth_params, uri):
 (sch, net, path, par, query, fra) = urlparse(uri)
 query = urlencode(_append_params(oauth_params, (extract_params(query) or [])))
 return urlunparse((sch, net, path, par, query, fra))

def prepare_request_uri_query ( oauth_params , uri ) : ( sch , net , path , par , query , fra ) = urlparse ( uri ) query = urlencode ( _append_params ( oauth_params , ( extract_params ( query ) or [ ] ) ) ) return urlunparse ( ( sch , net , path , par , query , fra ) )
prepare the request uri query .