I am defining a class, which receives another class object as a parameter in the __init__ stage.
def __init__(b): #b is a class
a.att1 = b.att1
a.att2 = b.att2
a.att3 = b.att3
I would like to have completions for the 'b' class in the __init__ function. currently the editor does not suggest attribute when i start typing 'b.'.
Is there a way to "inform" the editor that b is an object of some class?
becuase for me, b is an object of a big class, which forces me to switch over to that class and search how its attributes are written in order to correctly use them with 'a' class objects.