ancient-wolf-19325
06/19/2024, 11:18 PMError 0: Code: MismatchingTypes, Node Id: n4, Description: Variable [o0] (type [union_type:{variants:{simple:STRUCT structure:{tag:"Typed Dict"}} variants:{simple:NONE structure:{tag:"none"}}}]) doesn't match expected type [union_type:{variants:{simple:STRUCT structure:{tag:"Python Dictionary"}} variants:{simple:NONE structure:{tag:"none"}}}].
Error 1: Code: ParameterNotBound, Node Id: n4, Description: Parameter not bound [values].
More details in ๐งต
# Answer
The error you're encountering is likely due to a type mismatch in your workflow or task definitions. Specifically, it seems that Flyte is expecting a Python Dictionary type but is receiving a Typed Dict type instead. This can happen when there are updates or changes to the type system in Flyte or Flytekit versions.
To resolve this, you should ensure that the types used in your tasks and workflows are consistent and match the expected types.
Would you like more detail on how to troubleshoot and fix this issue?
Sources:
- Flyte Issue 4740
- Flyte Community Discussion
Slack Link
https://flyte-org.slack.com/archives/CP2HDHKE1/p1718839074.508509 ๐ 0 button ๐ 0 button ๐ก Hint: Mention @runllm in the thread for followups.