You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using an Annotated[StructuredDataset, kwtypes(...)] leads to this error:
return cast(LocallyExecutable, entity).local_execute(ctx, **kwargs)
File "/Users/nielsbantilan/miniconda3/envs/flyte-vscode-demo/lib/python3.9/site-packages/flytekit/core/base_task.py", line 264, in local_execute
outputs_literal_map = self.dispatch_execute(ctx, input_literal_map)
File "/Users/nielsbantilan/miniconda3/envs/flyte-vscode-demo/lib/python3.9/site-packages/flytekit/core/base_task.py", line 525, in dispatch_execute
raise TypeError(
TypeError: Failed to convert return value for var o0 for function prepare_train_args with error <class 'TypeError'>: unhashable type: 'collections.OrderedDict'
Expected behavior
This should work like un-annotated StructuredDataset
Describe the bug
Using an
Annotated[StructuredDataset, kwtypes(...)]
leads to this error:Expected behavior
This should work like un-annotated
StructuredDataset
Additional context to reproduce
Example:
Using this in a workflow will lead to the error above
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: