Repository navigation
Question: Hover information on "re-exports"? #983
Closed
michaelfortunato
started this conversation in
General
Replies: 3 comments 1 reply
|
This actually has nothing to do with the re-export. This is because the type is redefined in that same file here incorrectly. If you delete / fix that type (not sure of the runtime consequences), the problem goes away. Pylance runs into the same issue here. Feel free to re-open if this issue isn't solved. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hi all,
I am working with a package called PyG, and noticing I am not getting hover info on this item
DataLoaderbecause I believe it is re-exported.Not showing case
Showing case
In contrast if I import


DataLoaderfrom the module in which its truly defined. I get hover information as expected.The class is actually defined in the module
Is this expected? Or should Pyrefly detect the type of DataLoader the "Not Showing Case" above?
Note that in the "not showing case", Goto works on this item, even though hover shows unknown.
Thanks
All reactions