Skip to content

Commit cbfcc22

Browse files
authored
tweak docs.
1 parent ebad320 commit cbfcc22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pydantic_core/core_schema.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3141,7 +3141,7 @@ def dataclass_schema(
31413141
Args:
31423142
cls: The dataclass type, used to to perform subclass checks
31433143
schema: The schema to use for the dataclass fields
3144-
cls_name: The name to use for the class in error locs, etc; this is useful for generics (default: cls.__name__)
3144+
cls_name: The name to use for the class in error locs, etc; this is useful for generics (default: `cls.__name__`)
31453145
post_init: Whether to call `__post_init__` after validation
31463146
revalidate_instances: whether instances of models and dataclasses (including subclass instances)
31473147
should re-validate defaults to config.revalidate_instances, else 'never'

0 commit comments

Comments
 (0)