-
Notifications
You must be signed in to change notification settings - Fork 683
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 labels and annotations to with_overrides #6145
base: master
Are you sure you want to change the base?
Add labels and annotations to with_overrides #6145
Conversation
Signed-off-by: pryce-turner <[email protected]>
Code Review Agent Run Status
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #6145 +/- ##
===========================================
+ Coverage 37.01% 55.13% +18.11%
===========================================
Files 1317 99 -1218
Lines 132523 5978 -126545
===========================================
- Hits 49060 3296 -45764
+ Misses 79217 2490 -76727
+ Partials 4246 192 -4054
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ 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.
To generate the flyteidl files from a proto change:
cd flyteidl
make generate
Then build flyte binary:
https://docs.flyte.org/en/latest/community/contribute/contribute_code.html#requirements
Labels labels = 10; | ||
|
||
Annotations annotations = 11; |
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.
Labels labels = 10; | |
Annotations annotations = 11; | |
flyteidl.admin.Labels labels = 10; | |
flyteidl.admin.Annotations annotations = 11; |
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.
How come RetryStrategy can be inferred from literals
but Labels and Annotations can't be inferred from common
?
Signed-off-by: pryce-turner <[email protected]>
Code Review Agent Run Status
|
Signed-off-by: pryce-turner <[email protected]>
Code Review Agent Run Status
|
Why are the changes needed?
Improvement to allow setting labels and annotations dynamically at run time for things like cost allocation
What changes were proposed in this pull request?
Adds labels and annotations to with_overrides()
How was this patch tested?
TBD
Check all the applicable boxes
Related PRs
flyteorg/flytekit#3037
Docs link
TBD