

def get_root(self):
    '\n        Return the root ``Node`` of the tree.\n        '
    node = self.node
    while node.parent:
        node = node.parent
    return node

dataset/ETHPy150Open jonathanslenders/python-deployer/deployer/inspection/inspector.py Inspector.get_root/original