From 1abb6fe3eb46f01f3a7f399dfde525ca1e64642e Mon Sep 17 00:00:00 2001 From: "Han-Ru Chen (Future-Outlier)" Date: Thu, 21 Nov 2024 08:23:12 +0800 Subject: [PATCH] Update docs/user_guide/data_types_and_io/pydantic_basemodel.md Co-authored-by: David Espejo <82604841+davidmirror-ops@users.noreply.github.com> Signed-off-by: Han-Ru Chen (Future-Outlier) --- docs/user_guide/data_types_and_io/pydantic_basemodel.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/user_guide/data_types_and_io/pydantic_basemodel.md b/docs/user_guide/data_types_and_io/pydantic_basemodel.md index 4191e06c8e..f2bbaa8d54 100644 --- a/docs/user_guide/data_types_and_io/pydantic_basemodel.md +++ b/docs/user_guide/data_types_and_io/pydantic_basemodel.md @@ -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.