We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a0effd commit 9b1acd2Copy full SHA for 9b1acd2
pydantic_core/core_schema.py
@@ -270,7 +270,7 @@ def field_function_plain_ser_schema(
270
when_used: WhenUsed = 'always',
271
) -> FunctionPlainSerSchema:
272
"""
273
- Returns a schema for serialization with a function.
+ Returns a schema to serialize a field from a model, TypedDict or dataclass.
274
275
Args:
276
function: The function to use for serialization
@@ -359,7 +359,7 @@ def field_function_wrap_ser_schema(
359
360
) -> FunctionWrapSerSchema:
361
362
- Returns a schema for serialization with a function for a model field.
363
364
365
0 commit comments