def merge_query_string(obj, values):
    qs_parts = dict(obj)
    qs_parts.update(values)
    return '?{0}'.format(parse.urlencode(qs_parts))
Merges an existing dict of query string values and updates the values.
dataset/ETHPy150Open watsonpy/watson-framework/watson/framework/support/jinja2/filters.py/merge_query_string