Since Python 3.7 you can postpone evaluation of the annotations[1].
You can do something like this:
from __future__ import annotations
Class Node:
parent: Optional[Node]
[1] https://www.python.org/dev/peps/pep-0563/