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

make singular unions castable to their underlying type #599

Merged
merged 1 commit into from
Aug 3, 2023

Conversation

hamersaw
Copy link
Contributor

@hamersaw hamersaw commented Aug 2, 2023

TL;DR

This PR makes singular unions castable to their underlying type (ex. Union[int] -> int)

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#3922

Follow-up issue

NA

Signed-off-by: Daniel Rammer <daniel@union.ai>
@codecov
Copy link

codecov bot commented Aug 2, 2023

Codecov Report

Merging #599 (f211cf5) into master (8446baf) will increase coverage by 0.50%.
The diff coverage is 100.00%.

❗ Current head f211cf5 differs from pull request most recent head 9b9eee9. Consider uploading reports for the commit 9b9eee9 to get more accurate results

@hamersaw hamersaw merged commit d5accc7 into master Aug 3, 2023
@hamersaw hamersaw deleted the bug/map-task-optional-failure branch August 3, 2023 14:38
gvashishtha pushed a commit to gvashishtha/flytepropeller that referenced this pull request Aug 5, 2023
Signed-off-by: Daniel Rammer <daniel@union.ai>
Signed-off-by: Gopal K. Vashishtha <gvashishtha@anduril.com>
eapolinario pushed a commit that referenced this pull request Aug 6, 2023
* go mod

Signed-off-by: Gopal K. Vashishtha <gvashishtha@anduril.com>

* updating go mod

Signed-off-by: Gopal K. Vashishtha <gvashishtha@anduril.com>

* bumping version

Signed-off-by: Gopal K. Vashishtha <gvashishtha@anduril.com>

* some commenting

Signed-off-by: Gopal K. Vashishtha <gvashishtha@anduril.com>

* make singular unions castable to their underlying type (#599)

Signed-off-by: Daniel Rammer <daniel@union.ai>
Signed-off-by: Gopal K. Vashishtha <gvashishtha@anduril.com>

* fixed correct propagation of launchplan start error (#598)

Signed-off-by: Daniel Rammer <daniel@union.ai>
Signed-off-by: Gopal K. Vashishtha <gvashishtha@anduril.com>

* bumping flytestdlib

Signed-off-by: Gopal K. Vashishtha <gvashishtha@anduril.com>

---------

Signed-off-by: Gopal K. Vashishtha <gvashishtha@anduril.com>
Signed-off-by: Daniel Rammer <daniel@union.ai>
Co-authored-by: Dan Rammer <daniel@union.ai>
eapolinario pushed a commit to eapolinario/flytepropeller that referenced this pull request Aug 9, 2023
Signed-off-by: Daniel Rammer <daniel@union.ai>
eapolinario pushed a commit to eapolinario/flytepropeller that referenced this pull request Aug 9, 2023
* go mod

Signed-off-by: Gopal K. Vashishtha <gvashishtha@anduril.com>

* updating go mod

Signed-off-by: Gopal K. Vashishtha <gvashishtha@anduril.com>

* bumping version

Signed-off-by: Gopal K. Vashishtha <gvashishtha@anduril.com>

* some commenting

Signed-off-by: Gopal K. Vashishtha <gvashishtha@anduril.com>

* make singular unions castable to their underlying type (flyteorg#599)

Signed-off-by: Daniel Rammer <daniel@union.ai>
Signed-off-by: Gopal K. Vashishtha <gvashishtha@anduril.com>

* fixed correct propagation of launchplan start error (flyteorg#598)

Signed-off-by: Daniel Rammer <daniel@union.ai>
Signed-off-by: Gopal K. Vashishtha <gvashishtha@anduril.com>

* bumping flytestdlib

Signed-off-by: Gopal K. Vashishtha <gvashishtha@anduril.com>

---------

Signed-off-by: Gopal K. Vashishtha <gvashishtha@anduril.com>
Signed-off-by: Daniel Rammer <daniel@union.ai>
Co-authored-by: Dan Rammer <daniel@union.ai>
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] maptasks with optional output fail to validate with optional interfaces
2 participants