Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Not stripping structure from literal types #571

Merged
merged 2 commits into from
Jun 7, 2023

Conversation

hamersaw
Copy link
Contributor

@hamersaw hamersaw commented Jun 6, 2023

TL;DR

This PR leave the Structure field populated when stripping type metadata. This is necessary because it is used during type validation - particularly for the internally compiled workflow of dynamic tasks.

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

^^^

Tracking Issue

fixes flyteorg/flyte#3748

Follow-up issue

NA

@hamersaw hamersaw requested review from kumare3 and EngHabu as code owners June 6, 2023 12:04
Signed-off-by: Daniel Rammer <[email protected]>
@codecov
Copy link

codecov bot commented Jun 6, 2023

Codecov Report

Merging #571 (e70b80b) into master (85ae7d6) will increase coverage by 0.41%.
The diff coverage is 29.41%.

❗ Current head e70b80b differs from pull request most recent head 964f075. Consider uploading reports for the commit 964f075 to get more accurate results

@hamersaw hamersaw merged commit c61fa47 into master Jun 7, 2023
@hamersaw hamersaw deleted the bug/dynamic-workflow-type-validation branch June 7, 2023 12:56
eapolinario pushed a commit to eapolinario/flytepropeller that referenced this pull request Aug 9, 2023
* not stripping structure from literal types

Signed-off-by: Daniel Rammer <[email protected]>

* fixed new lint issues

Signed-off-by: Daniel Rammer <[email protected]>

---------

Signed-off-by: Daniel Rammer <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Optional type transform not working in dynamic workflow
3 participants