-
Notifications
You must be signed in to change notification settings - Fork 436
Type hint issues #1050
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
The types are not present in 0.18. Try again with the development branch. It should work there. 0.19 is being prepared for release and will have the typing information. |
Thanks jorwoods - @pierresouchay this release is now available and hopefully solves your issue! |
@jorwoods @jacalata Does not seem to work... With the example provided above:
|
Huh - I can definitely repro this. I'll take a look, thanks very much for following up! |
I believe the problem is because if you are in the TYPE_CHECKING mode, there are circular references, which break when trying to inspect from the top level. These things still work during run time because they are behind the |
Tested and confirmed this is resolved by #1394 |
Describe the bug
Recently tried to bump tableauserverclient from version 0.16.0 to 0.18.0
Versions
Details of your environment, including:
To Reproduce
Create this simplistic file:
Run
mypy test_script.py --ignore-missing-imports --strict
Results
=> this is simplistic and mypy complains
I suspect the typed.py file is not at the right place or the imports are not being set correctly In the init.py file
Maybe #991 not being implemented correctly
The text was updated successfully, but these errors were encountered: