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 533367f commit 9d9f148Copy full SHA for 9d9f148
python/pydantic_core/core_schema.py
@@ -2212,7 +2212,7 @@ def with_default_schema(
2212
schema: The schema to add a default value to
2213
default: The default value to use
2214
default_factory: A function that returns the default value to use
2215
- default_factory: A function to compare the default value with any other given
+ default_comparison: A function to compare the default value with any other given
2216
on_error: What to do if the schema validation fails. One of 'raise', 'omit', 'default'
2217
validate_default: Whether the default value should be validated
2218
strict: Whether the underlying schema should be validated with strict mode
0 commit comments