-
Notifications
You must be signed in to change notification settings - Fork 25.7k
Hide __getattr__ from type checkers #109683
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
Conversation
Visibility of this causes type checkers to conservatively assume that all attributes are defined on torch module.
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/109683
Note: Links to docs will display an error until the docs builds have been completed. ✅ You can merge normally! (1 Unrelated Failure)As of commit 5df8d4f with merge base 6e3a747 ( FLAKY - The following job failed but was likely due to flakiness present on trunk:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
@pytorchbot label "module: typing" |
|
@pytorchbot label "release notes: python_frontend" |
Merge failedReason: Comment with id 1728147764 not found Details for Dev Infra teamRaised by workflow job |
|
@pytorchbot merge |
Merge startedYour change will be merged once all checks pass (ETA 0-4 Hours). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
Merge failedReason: 1 mandatory check(s) failed. The first few are: Dig deeper by viewing the failures on hud |
|
Rebased! I fixed some of the type errors that got introduced and hidden after my previous merge base, but just type ignored others. It would be nice to merge before too many further regressions are committed to main. |
|
@pytorchbot merge |
Merge startedYour change will be merged once all checks pass (ETA 0-4 Hours). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
Visibility of this causes type checkers to conservatively assume that all attributes are defined on torch module.
cc @ezyang @malfet @rgommers @xuzhao9 @gramster