I want to set the type of the parameter like this:
class Tree:
    def __init__(self):
        self.list_of_nodes=[]
    def inser_node (self, node: Tree):
        self.list_of_nodes.append(node)
When I try to do this, the error is raised: NameError: name 'Tree' is not defined
