Skip to content
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 enable_deck to task decorator #1898

Merged
merged 2 commits into from
Oct 18, 2023
Merged

Add enable_deck to task decorator #1898

merged 2 commits into from
Oct 18, 2023

Conversation

eapolinario
Copy link
Collaborator

TL;DR

Add an enable_deck parameter to @task

Type

  • Bug Fix
  • Feature
  • Plugin

Are all requirements met?

  • Code completed
  • Smoke tested
  • Unit tests added
  • Code documentation added
  • Any pending items have an associated Issue

Complete description

How did you fix the bug, make the feature etc. Link to any design docs etc

Tracking Issue

https://github.com/flyteorg/flyte/issues/

Follow-up issue

NA
OR
https://github.com/flyteorg/flyte/issues/

Signed-off-by: Eduardo Apolinario <[email protected]>
pingsutw
pingsutw previously approved these changes Oct 18, 2023
@codecov
Copy link

codecov bot commented Oct 18, 2023

Codecov Report

Attention: 4 lines in your changes are missing coverage. Please review.

Comparison is base (9812bf4) 51.67% compared to head (5040f12) 55.20%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1898      +/-   ##
==========================================
+ Coverage   51.67%   55.20%   +3.53%     
==========================================
  Files         255      300      +45     
  Lines       20588    22399    +1811     
  Branches     2180     3368    +1188     
==========================================
+ Hits        10638    12365    +1727     
- Misses       9801     9870      +69     
- Partials      149      164      +15     
Files Coverage Δ
flytekit/core/task.py 66.03% <ø> (ø)
flytekit/core/base_task.py 44.66% <42.85%> (-0.24%) ⬇️

... and 69 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@eapolinario eapolinario merged commit 8dc26d2 into master Oct 18, 2023
68 of 70 checks passed
troychiu pushed a commit to troychiu/flytekit that referenced this pull request Oct 20, 2023
* Add enable_deck to task decorator

Signed-off-by: Eduardo Apolinario <[email protected]>

* Actually handle the case where none are set

Signed-off-by: Eduardo Apolinario <[email protected]>

---------

Signed-off-by: Eduardo Apolinario <[email protected]>
Co-authored-by: Eduardo Apolinario <[email protected]>
Future-Outlier pushed a commit to Future-Outlier/flytekit that referenced this pull request Oct 20, 2023
* Add enable_deck to task decorator

Signed-off-by: Eduardo Apolinario <[email protected]>

* Actually handle the case where none are set

Signed-off-by: Eduardo Apolinario <[email protected]>

---------

Signed-off-by: Eduardo Apolinario <[email protected]>
Co-authored-by: Eduardo Apolinario <[email protected]>
Signed-off-by: Future Outlier <[email protected]>
ringohoffman pushed a commit to ringohoffman/flytekit that referenced this pull request Nov 24, 2023
* Add enable_deck to task decorator

Signed-off-by: Eduardo Apolinario <[email protected]>

* Actually handle the case where none are set

Signed-off-by: Eduardo Apolinario <[email protected]>

---------

Signed-off-by: Eduardo Apolinario <[email protected]>
Co-authored-by: Eduardo Apolinario <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants