Skip to content

Commit 9b1acd2

Browse files
committed
update docstring
1 parent 6a0effd commit 9b1acd2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pydantic_core/core_schema.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ def field_function_plain_ser_schema(
270270
when_used: WhenUsed = 'always',
271271
) -> FunctionPlainSerSchema:
272272
"""
273-
Returns a schema for serialization with a function.
273+
Returns a schema to serialize a field from a model, TypedDict or dataclass.
274274
275275
Args:
276276
function: The function to use for serialization
@@ -359,7 +359,7 @@ def field_function_wrap_ser_schema(
359359
when_used: WhenUsed = 'always',
360360
) -> FunctionWrapSerSchema:
361361
"""
362-
Returns a schema for serialization with a function for a model field.
362+
Returns a schema to serialize a field from a model, TypedDict or dataclass.
363363
364364
Args:
365365
function: The function to use for serialization

0 commit comments

Comments
 (0)