def undunder_keys(_dict):
    def f(key, value):
        parts = key.split('__')
        return {
            parts[0]: value if len(parts) == 1 else f(parts[1], value)
        }

    result = {}
    for r in [f(k, v) for k, v in _dict.items()]:
        rk = list(r.keys())[0]
        if rk not in result:
            result.update(r)
        else:
            result[rk].update(r[rk])
    return result
Return the attributes that are :class:`deployer.query.Query` instances.
dataset/ETHPy150Open naiquevin/lookupy/lookupy/dunderkey.py/undunder_keys--crossover with--dataset/ETHPy150Open jonathanslenders/python-deployer/deployer/inspection/inspector.py/Inspector.get_queries