Skip to content

Commit

Permalink
Update docs/user_guide/data_types_and_io/pydantic_basemodel.md
Browse files Browse the repository at this point in the history
Co-authored-by: David Espejo <[email protected]>
Signed-off-by: Han-Ru Chen (Future-Outlier) <[email protected]>
  • Loading branch information
Future-Outlier and davidmirror-ops authored Nov 21, 2024
1 parent 8ad3f64 commit 1abb6fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/user_guide/data_types_and_io/pydantic_basemodel.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
.. tags:: Basic
```

When you have multiple values that you want to send across Flyte entities, and you want them to have, you can use a `pydantic.BaseModel`.
`flytekit` version >=1.14 supports natively the `JSON` format that Pydantic `BaseModel` produces, enhancing the interoperability of Pydantic schemas with the Flyte type system.

:::{important}
Pydantic BaseModel V2 only works when you are using flytekit version >= v1.14.0.
Expand Down

0 comments on commit 1abb6fe

Please sign in to comment.