You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From #5: we have the machinery in place to track subscripts and unpacking assignments by analysing type hints that are nested tuples or lists of simple types:
classA:
attr: int=3deffoo() ->List[A]:
passdefbar() ->Tuple[A, A]:
pass# example codea=lib.foo()[0]
a.attr# properly linkedb, c=lib.bar() # b and c linked to A
I'm not sure what to do with other than constant integer subscripts though.
The text was updated successfully, but these errors were encountered:
From #5: we have the machinery in place to track subscripts and unpacking assignments by analysing type hints that are nested tuples or lists of simple types:
I'm not sure what to do with other than constant integer subscripts though.
The text was updated successfully, but these errors were encountered: