Hi, just started to finally port my project to Python3 (3.7.4) and to use proper type hints.
I have one problem with forward references on type hints
I can import a class in a module by
from ORCA.definition.Definitions import cDefinitions
But when I try to use a forward reference in a type hint (in a module where I can't import cDefinitions)
def __init__(self,uDefinitionName:str, oDefinitions:'ORCA.definition.Definitions.cDefinitions'):
Pycharm flags an error "unresolved reference 'ORCA', when I run the "Inspect Code" routine
How to properly do a forward reference in such a case?