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

[BUG][Flytekit] NamedTuple AssertionError in Python 3.9 #1154

Closed
samhita-alla opened this issue Jun 16, 2021 · 0 comments
Closed

[BUG][Flytekit] NamedTuple AssertionError in Python 3.9 #1154

samhita-alla opened this issue Jun 16, 2021 · 0 comments
Labels
bug Something isn't working flytekit FlyteKit Python related issue python-3.9+ Capture bugs that affect flytekit for versions greater than python3.9 untriaged This issues has not yet been looked at by the Maintainers

Comments

@samhita-alla
Copy link
Contributor

Describe the bug
The test test_more_normal_task() in tests/flytekit/unit/core/test_node_creation.py is resulting in an error: AssertionError: Output(t1_str_output) in tasktest_node_creation.t1 received a tuple ('7',), instead of <class 'str'>.

Expected behavior
No error is expected to pop up.

To Reproduce
Steps to reproduce the behavior:

  1. Define a NamedTuple.
  2. Return a tuple or a NamedTuple instance as the output whose datatype is NamedTuple.
@samhita-alla samhita-alla added bug Something isn't working untriaged This issues has not yet been looked at by the Maintainers python-3.9+ Capture bugs that affect flytekit for versions greater than python3.9 labels Jun 16, 2021
@samhita-alla samhita-alla changed the title [Flytekit] NamedTuple AssertionError in Python 3.9 [BUG][Flytekit] NamedTuple AssertionError in Python 3.9 Jun 18, 2021
@wild-endeavor wild-endeavor added the flytekit FlyteKit Python related issue label Jul 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working flytekit FlyteKit Python related issue python-3.9+ Capture bugs that affect flytekit for versions greater than python3.9 untriaged This issues has not yet been looked at by the Maintainers
Projects
None yet
Development

No branches or pull requests

2 participants