From c29cacceb713155eeca9947059dc93db6db3df50 Mon Sep 17 00:00:00 2001 From: Andrew Brookins Date: Thu, 22 Aug 2024 11:34:42 -0700 Subject: [PATCH] Test `experimental_defer_build_mode` with `defer_build=True` (#15052) --- src/prefect/server/utilities/schemas/bases.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/prefect/server/utilities/schemas/bases.py b/src/prefect/server/utilities/schemas/bases.py index 3efe0f3c8c3c..d613912931d5 100644 --- a/src/prefect/server/utilities/schemas/bases.py +++ b/src/prefect/server/utilities/schemas/bases.py @@ -58,8 +58,10 @@ class PrefectBaseModel(BaseModel): """ _reset_fields: ClassVar[Set[str]] = set() + model_config = ConfigDict( ser_json_timedelta="float", + experimental_defer_build_mode=("model", "type_adapter"), defer_build=True, extra=( "ignore"