We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
_typeshed
Example:
if TYPE_CHECKING: from _typeshed import StrPath def foo(path: StrPath) -> StrPath: return path
Output (fails a build on read the docs):
WARNING: Failed guarded type import with ModuleNotFoundError("No module named '_typeshed'")
Stubs for _typeshed: https://github.com/python/typeshed/tree/main/stdlib/_typeshed
The text was updated successfully, but these errors were encountered:
I do not see how we can solve this, but if someone has ideas PR welcome. I would say for now do not use _typeshed imports.
Sorry, something went wrong.
Yeah, unless this can be implemented without executing the code block?
The code block needs to be executed, otherwise we wouldn't be able to resolve some of the objects.
No branches or pull requests
Example:
Output (fails a build on read the docs):
Stubs for
_typeshed
: https://github.com/python/typeshed/tree/main/stdlib/_typeshedThe text was updated successfully, but these errors were encountered: