code: def remove_child(self, name: str):
      if name in self.children:
          if isinstance(self.children[name], InternalNode):
              self.num -= node.num
          else:
              self.num -= 1
      self.children.pop(name, None)
  
imports: import json
  from typing import Dict, List, Union
label_desc: Use image node_id 3 for calling the InternalNode obj's underlying member method code with example usage: obj.remove_child(name) without return types