code: def _go_through_tree_and_create_codes(
      tree: Node, code: str, dict_codes: dict
  ):
      if tree.sign is not None:
          dict_codes[tree.sign] = code
  
      if tree.left:
          HuffmanCoding._go_through_tree_and_create_codes(
              tree.left, code + "0", dict_codes
          )
  
      if tree.right:
          HuffmanCoding._go_through_tree_and_create_codes(
              tree.right, code + "1", dict_codes
          )
  
imports: from collections import defaultdict, deque
  import heapq
label_desc: Use image node_id 9 for calling the HuffmanCoding obj's underlying member method code with example usage: obj._go_through_tree_and_create_codes(tree, code, dict_codes) without return types