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

Added RawOutputDataConfig in ExecutionSpec #889

Merged
merged 5 commits into from
Mar 17, 2022
Merged

Added RawOutputDataConfig in ExecutionSpec #889

merged 5 commits into from
Mar 17, 2022

Conversation

pingsutw
Copy link
Member

@pingsutw pingsutw commented Mar 15, 2022

Signed-off-by: Kevin Su pingsutw@apache.org

TL;DR

Added RawOutputDataConfig in ExecutionSpec

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

  • Add RawOutputDataConfig in models.execution.py
  • Unit tests for RawOutputDataConfig from_flyte_idl and to_flyte_idl

Tracking Issue

flyteorg/flyte#2230

Follow-up issue

NA

Signed-off-by: Kevin Su <pingsutw@apache.org>
Signed-off-by: Kevin Su <pingsutw@apache.org>
@codecov
Copy link

codecov bot commented Mar 15, 2022

Codecov Report

Merging #889 (de916e4) into master (d98b482) will increase coverage by 0.04%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #889      +/-   ##
==========================================
+ Coverage   86.47%   86.51%   +0.04%     
==========================================
  Files         230      230              
  Lines       22075    22105      +30     
  Branches     2459     2465       +6     
==========================================
+ Hits        19090    19125      +35     
+ Misses       2578     2576       -2     
+ Partials      407      404       -3     
Impacted Files Coverage Δ
flytekit/models/execution.py 98.01% <100.00%> (+0.04%) ⬆️
flytekit/remote/remote.py 40.93% <100.00%> (+0.14%) ⬆️
tests/flytekit/unit/models/test_execution.py 100.00% <100.00%> (ø)
tests/flytekit/unit/remote/test_remote.py 100.00% <100.00%> (ø)
flytekit/configuration/internal.py 95.45% <0.00%> (-0.14%) ⬇️
tests/flytekit/unit/bin/test_python_entrypoint.py 99.46% <0.00%> (-0.01%) ⬇️
tests/flytekit/unit/core/test_shim_task.py 100.00% <0.00%> (ø)
tests/flytekit/unit/extras/tasks/test_shell.py 100.00% <0.00%> (ø)
tests/flytekit/unit/core/test_type_engine.py 99.68% <0.00%> (+<0.01%) ⬆️
flytekit/extras/tasks/shell.py 85.93% <0.00%> (+0.22%) ⬆️
... and 6 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d98b482...de916e4. Read the comment docs.

Signed-off-by: Kevin Su <pingsutw@apache.org>
Signed-off-by: Kevin Su <pingsutw@apache.org>
@@ -89,6 +89,7 @@ class Options(object):
auth_role: typing.Optional[common_models.AuthRole] = None
labels: typing.Optional[common_models.Labels] = None
annotations: typing.Optional[common_models.Annotations] = None
raw_output_data_config: typing.Optional[common_models.RawOutputDataConfig] = None
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add it to the Args list on line 82 also?

Signed-off-by: Kevin Su <pingsutw@apache.org>
@pingsutw pingsutw merged commit 989a622 into master Mar 17, 2022
myz540 pushed a commit to ProjectAussie/flytekit that referenced this pull request Apr 11, 2022
* Added RawOutputDataConfig in ExecutionSpec

Signed-off-by: Kevin Su <pingsutw@apache.org>

* Updated idl

Signed-off-by: Kevin Su <pingsutw@apache.org>

* Updated idl

Signed-off-by: Kevin Su <pingsutw@apache.org>

* Updated idl

Signed-off-by: Kevin Su <pingsutw@apache.org>

* Updated args

Signed-off-by: Kevin Su <pingsutw@apache.org>
Signed-off-by: Mike Zhong <mzhong@embarkvet.com>
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