-
Notifications
You must be signed in to change notification settings - Fork 320
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
Relax type hints on compute() #2662
Conversation
This pull request was exported from Phabricator. Differential Revision: D61339432 |
This pull request was exported from Phabricator. Differential Revision: D61339432 |
Summary: Pull Request resolved: facebook#2662 Scheduler does not have a GenerationStrategy, it has a GenerationStrategyInterface. Relaxing this type hint is important for creating Scheduler.compute_analyses(...) Differential Revision: D61339432
9a8667d
to
c141188
Compare
Summary: Add compute_result and a new __str__ method to Analysis. The former is useful for computing many analysis at once and handling the exceptions post-compute (as we intend to do on the Scheduler) and the __str__ method is just useful for generating messages in the ExceptionE Differential Revision: D61337928
Summary: Pull Request resolved: facebook#2662 Scheduler does not have a GenerationStrategy, it has a GenerationStrategyInterface. Relaxing this type hint is important for creating Scheduler.compute_analyses(...) Reviewed By: Cesar-Cardoso Differential Revision: D61339432
This pull request was exported from Phabricator. Differential Revision: D61339432 |
c141188
to
52959da
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2662 +/- ##
==========================================
- Coverage 95.29% 95.26% -0.03%
==========================================
Files 495 495
Lines 47773 47802 +29
==========================================
+ Hits 45523 45540 +17
- Misses 2250 2262 +12 ☔ View full report in Codecov by Sentry. |
This pull request has been merged in b59af0d. |
Summary: Scheduler does not have a GenerationStrategy, it has a GenerationStrategyInterface. Relaxing this type hint is important for creating Scheduler.compute_analyses(...)
Differential Revision: D61339432