acoustic-carpenter-78188
05/25/2023, 10:19 PMapplication/octet-stream
. In this pr, we explicitly set the type, so flyteconsole can render flyte deck properly.
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
from flytekit import task, workflow
from flytekit.image_spec import ImageSpec
new_flytekit = "git+<https://github.com/flyteorg/flytekit@e199d01b44042a19a6f18b7942150b02dac24e01>"
python_image = ImageSpec(
registry="pingsutw",
apt_packages=["git"],
packages=[new_flytekit],
)
@task(container_image=python_image, disable_deck=False)
def t1():
print("t1")
@workflow()
def wf():
t1()
if __name__ == '__main__':
wf()
Tracking Issue
https://unionai.slack.com/archives/C02CMUNT4PQ/p1684943237121539
Follow-up issue
NA
flyteorg/flytekit
Codecov: 71.00% (-0.02%) compared to eafcc82
Codecov: 43.75% of diff hit (target 71.01%)
✅ 28 other checks have passed
28/30 successful checksacoustic-carpenter-78188
06/01/2023, 6:47 PMacoustic-carpenter-78188
06/01/2023, 8:15 PM