Skip to content

Flyte Console - Dataclasses & Pydantic models as inputs #6202

Closed Answered by Future-Outlier
adartaud asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@adartaud
Comment options

@Future-Outlier
Comment options

Answer selected by Future-Outlier
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants