-
Notifications
You must be signed in to change notification settings - Fork 244
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
Add various executions phases which are available in flyteidl, but not in flytekit #2022
Add various executions phases which are available in flyteidl, but not in flytekit #2022
Conversation
…t not in flytekit Signed-off-by: Maarten de Jong <mdejong@blackshark.ai>
Signed-off-by: Maarten de Jong <mdejong@blackshark.ai>
Thank you for opening this pull request! 🙌 These tips will help get your PR across the finish line:
|
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #2022 +/- ##
===========================================
- Coverage 86.22% 63.19% -23.03%
===========================================
Files 320 320
Lines 23531 23494 -37
Branches 3464 3446 -18
===========================================
- Hits 20289 14847 -5442
- Misses 2650 8233 +5583
+ Partials 592 414 -178 ☔ View full report in Codecov by Sentry. |
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.
LGTM, thank you. the code becomes much simpler
Congrats on merging your first pull request! 🎉 |
…t in flytekit (flyteorg#2022) * Add various executions phases which are available in the protobuf, but not in flytekit Signed-off-by: Maarten de Jong <mdejong@blackshark.ai> * Simplify `enum_to_string` function Signed-off-by: Maarten de Jong <mdejong@blackshark.ai> --------- Signed-off-by: Maarten de Jong <mdejong@blackshark.ai> Signed-off-by: Rafael Raposo <rafaelraposo@spotify.com>
Tracking issue
None afaik
Why are the changes needed?
So that we can access all possible phases returned by Flyte within
flytekit
.Also suggesting a refactoring to
enum_to_string()
in the second commit. Happy to drop that if it's deemed unnecessary.How was this patch tested?
I ran
make test
locally and it ran through. I didn't add any more tests because as much as I could find everything would fall apart already if I messed upenum_to_string()
, so expecting that that is still functional after this PR :)Check all the applicable boxes