If I want to use annotations in both classes in the different modules is cross?
from BModule import B
class A:
def method(self, b: B):
pass
~
from AModule import A
class B:
def method(self, a: A):
pass
I got a ImportError: cannot import name 'B'
? But how if I need annotate this, what to do?
Also if I just import AModule\BModule and use class as attribute of module AModule.A
I got AttributeError: module 'BModule' has no attribute 'B'