Lets assume we have:
self.var = 1
l = 
l.var += 1 # no type hint
Is there a way to communicate PyCharm the type of the list items, so that I can take advantage of code completion?
I know I can use the following:
for obj in l:
assert isinstance(obj, A)
print obj.var # type hint works
However, I would prefer code completion without using isinstance or list iteration as with the above example.