Closed WutingjiaX closed 7 months ago
I assume however that my_instance.id_to_name[0]
is working though? Jedi does not currently give you the generics as part of full_name or anything else. That's just a visual limitation. However AFAIK generics should still work in that case for autocompletion/type inference.
thx~
I have an example like this:
then I want to infer the type of id_to_name with infer() API。But the result is:
It loses the generic info。
update: I find that to access some protected Attribute,I can get generic info,like this:
But why wasn't this information serialized into the name or full_name fields?