From 91e003c0941c621ea6406a3a5483cd6ceea5c3f8 Mon Sep 17 00:00:00 2001 From: David Hewitt Date: Mon, 9 Dec 2024 11:56:44 +0000 Subject: [PATCH] fix type hint for `SerializationInfo.round_trip` --- python/pydantic_core/core_schema.py | 1 + 1 file changed, 1 insertion(+) diff --git a/python/pydantic_core/core_schema.py b/python/pydantic_core/core_schema.py index 0fcfe9cab..eff30a15a 100644 --- a/python/pydantic_core/core_schema.py +++ b/python/pydantic_core/core_schema.py @@ -149,6 +149,7 @@ def exclude_none(self) -> bool: ... @property def serialize_as_any(self) -> bool: ... + @property def round_trip(self) -> bool: ... def mode_is_json(self) -> bool: ...