Fix Python – Python type hinting without cyclic imports

I’m trying to split my huge class into two; well, basically into the “main” class and a mixin with additional functions, like so: file:

class Main(object, MyMixin):
def func1(self, xxx): file:
class MyMixin(object):
def func2(self: Main, xxx): # <--- note the type hint ... Now, w....