sample_nests = {
    "var1": {
        "ans1": {
            "var1-1": None
            },
        "ans2": {
            "var1-2": None
            },
    },
    "var2": None
}


sample_questions = {
    "var1": {"options": ["ans1", "ans2"], "option_type": "str"},
    "var1-1": {"oprion": ["y", "n"]}
}

# sample = {
#     "Variable1": {
#         "question": "Q1",
#         "option": ["a1","a2"],
#         "option_type": "str",
#         "nest": {
#             "Variable1-1": {
#                 "question": "Q1-1",
#                 "option":["y","n"]
#                 "option_type": "bool"
#                 "nest": },
#             "Variable1-2": {
#                 "question": "Q1-2",
#                 "option_type": "str",
#                 "Q1-2": "str"}
#     }
# class QTree:
#     def __init__(self, ):
        # 辞書から生成
        
        # sqlから生成
        
        # 変数保存するやつから生成