Flyte Console - Dataclasses & Pydantic models as inputs #6202
-
Beta Was this translation helpful? Give feedback.
Answered by
Future-Outlier
Jan 29, 2025
Replies: 3 comments 2 replies
-
Please use json str to do it! |
Beta Was this translation helpful? Give feedback.
0 replies
-
according to this PR In summary, you have to turn your dataclass/dict/pydantic basemodel input to a json str as input, then it will work. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
Future-Outlier
-
Please try it and mark me as the answer if it works cc @adartaud |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
according to this PR
flyteorg/flytekit#2792
You can see me create input like this.
In summary, you have to turn your dataclass/dict/pydantic basemodel input to a json str as input, then it will work.