-
Notifications
You must be signed in to change notification settings - Fork 674
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] cannot pass dataclass with Optional[list] to FlyteRemote.execute #6057
Comments
Thank you for opening your first issue here! 🛠 |
@gvogel-hh the entire JSON subsystem is getting a major update in 1.14. cc @Future-Outlier |
It seems the problem persists in 1.14.0. I could work around it by patching like
(I also had to change |
@Future-Outlier , can you take a look? |
Describe the bug
When trying to pass a dataclass containing an optional list as input to FlyteRemote.execute(), a
KeyError: 'items'
is raised at flytekit/core/type_engine.py:839 in generate_attribute_list_from_dataclass_json_mixin (flytekit==1.13.14).Expected behavior
Workflow is started with the given dataclass instance.
Additional context to reproduce
Screenshots
No response
Are you sure this issue hasn't been raised already?
Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: