import json
from dict_atd import Dictionary, Node


def into_atd(py_dict):
    our_dict = Dictionary()
    for key, value in py_dict.items():
        if isinstance(value, dict):
            our_dict[key] = into_atd(value)
        elif isinstance(value, list):
            our_dict[key] = [into_atd(item) for item in value]
        else:
            our_dict[key] = value
    return our_dict

78676c393e04a49b2c16115bbf2682bd399668f8
<mask token>

<mask token>


def into_atd(py_dict):
    our_dict = Dictionary()
    for key, value in py_dict.items():
        if isinstance(value, dict):
            our_dict[key] = into_atd(value)
        elif isinstance(value, list):
            our_dict[key] = [into_atd(item) for item in value]
        else:
            our_dict[key] = value
    return our_dict

import json
from dict_atd import Dictionary, Node


def into_atd(py_dict):
    our_dict = Dictionary()
    for key, value in py_dict.items():
        if isinstance(value, dict):
            our_dict[key] = into_atd(value)
        elif isinstance(value, list):
            our_dict[key] = [into_atd(item) for item in value]
        else:
            our_dict[key] = value
    return our_dict
