Skip to content

Commit 3d69981

Browse files
committed
Add deprecated comment to WithInfoWrapValidatorFunctionSchema.field_name
1 parent 718324d commit 3d69981

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/pydantic_core/core_schema.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2201,7 +2201,7 @@ class NoInfoWrapValidatorFunctionSchema(TypedDict):
22012201
class WithInfoWrapValidatorFunctionSchema(TypedDict, total=False):
22022202
type: Required[Literal['with-info']]
22032203
function: Required[WithInfoWrapValidatorFunction]
2204-
field_name: str
2204+
field_name: str # deprecated
22052205

22062206

22072207
WrapValidatorFunction = Union[NoInfoWrapValidatorFunctionSchema, WithInfoWrapValidatorFunctionSchema]

0 commit comments

Comments
 (0)