code: def __init__(self, name: str):
      self.name = name
      self.par = None
      self.level = 0
  
imports: import json
  from typing import Dict, List, Union
label_desc: Use image node_id 1 to create a new TreeNode object from inherited base classes: object with example: obj = TreeNode(name)