You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: python/pydantic_core/core_schema.py
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -79,6 +79,7 @@ class CoreConfig(TypedDict, total=False):
79
79
validate_by_alias: Whether to use the field's alias when validating against the provided input data. Default is `True`.
80
80
validate_by_name: Whether to use the field's name when validating against the provided input data. Default is `False`. Replacement for `populate_by_name`.
81
81
serialize_by_alias: Whether to serialize by alias. Default is `False`, expected to change to `True` in V3.
82
+
url_preserve_empty_path: Whether to preserve empty URL paths when validating values for a URL type. Defaults to `False`.
82
83
"""
83
84
84
85
title: str
@@ -119,6 +120,7 @@ class CoreConfig(TypedDict, total=False):
0 commit comments