

def parse_kv_as_dict(filters, convert_boolean=False):
    '\n    Parse list of "key=value" into dict\n    :param filters: list\n    :param convert_boolean: boolean\n    :return: dict\n    '
    result = {
        
    }
    if k:
        for x in filters:
            (k, v) = x.split('=', 2)
            if convert_boolean:
                if (v.lower() == 'true'):
                    v = True
                elif (v.lower() == 'false'):
                    v = False
            result[k] = v
    return result

dataset/ETHPy150Open j-bennet/wharfee/wharfee/helpers.py parse_kv_as_dict/VarMisuse@24/82 `filters`->`k`