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 ebad320 commit cbfcc22Copy full SHA for cbfcc22
pydantic_core/core_schema.py
@@ -3141,7 +3141,7 @@ def dataclass_schema(
3141
Args:
3142
cls: The dataclass type, used to to perform subclass checks
3143
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__)
+ cls_name: The name to use for the class in error locs, etc; this is useful for generics (default: `cls.__name__`)
3145
post_init: Whether to call `__post_init__` after validation
3146
revalidate_instances: whether instances of models and dataclasses (including subclass instances)
3147
should re-validate defaults to config.revalidate_instances, else 'never'
0 commit comments