code: def set_haed(self, parent):
      parent.children.append(self)
  
file_path: flair/flair/visual/tree_printer.py
imports: from typing import List
  from pptree import print_tree
  from flair.data import Sentence, Token
label_desc: Use image node_id 2 for calling the NodeToken obj's underlying member method code with example usage: obj.set_haed(parent) without return types