toolware/utils/generic.py
def get_encoded_url_to_dict(string):
    """
    Converts an encoded URL to a dict.
    Example: given string = 'a=1&b=2' it returns {'a': 1, 'b': 2}
    """
    data = urllib.parse.parse_qsl(string, keep_blank_values=True)
    data = dict(data)
    return data
def get_encoded_url_to_dict(string):
    """
    Converts an encoded URL to a dict.
    Example: given string = 'a=1&b=2' it returns {'a': 1, 'b': 2}
    """
    data = urllib.parse.parse_qsl(string, keep_blank_values=True)
    data = dict(data)
    return data
def get_encoded_url_to_dict ( string ) : data = urllib . parse . parse_qsl ( string , keep_blank_values = True ) data = dict ( data ) return data
Converts an encoded URL to a dict.
    Example: given string = 'a=1&b=2' it returns {'a': 1, 'b': 2}
Converts an encoded URL to a dict . Example : given string = a = 1&b = 2 it returns { a : 1 b : 2 }