In PyCharm function annotations help the IDE determine return types. However, it seems to ignore forward declarations. Given the following class, it will not be able to determine that the parent method returns type "Node".
def __init(self, parent: 'Node'=None):
self._parent = parent
def parent(self) -> 'Node':
Is there some other way to do forward declarations for PyCharm, or is it just broken?