-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Wrapped create_type_hint in try/except block so that NormalizeArgs doesn't fail if create_type_hint fails #61524
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
…esn't fail if create_type_hint fails [ghstack-poisoned]
💊 CI failures summary and remediationsAs of commit 80ec6d9 (more details on the Dr. CI page and at hud.pytorch.org/pr/61524):
🕵️ 3 new failures recognized by patternsThe following CI failures do not appear to be due to upstream breakages:
|
return ret_type(Any) | ||
return ret_type(base_type) | ||
except Exception as e: | ||
# We tried to create a type hint for list but failed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we want to print a warning
?
…lizeArgs doesn't fail if create_type_hint fails" [ghstack-poisoned]
@Chillee has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
Stack from ghstack:
Differential Revision: D29746106