def snake_case_dict(_dict):
    raw_dict = _dict.copy()
    result = {}
    try:
        while 1:
            key, value = raw_dict.popitem()
            result[snake_case(key)] = value
    except __HOLE__:
        return result
dataset/ETHPy150Open puentesarrin/asyncflux/asyncflux/util.py/snake_case_dict