Skip to content

Commit 8e66bd9

Browse files
authored
Fix regex_engine being rejected by validate_core_schema (#1011)
1 parent 8bbfb33 commit 8e66bd9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎python/pydantic_core/core_schema.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ class CoreConfig(TypedDict, total=False):
106106
hide_input_in_errors: bool
107107
validation_error_cause: bool # default: False
108108
coerce_numbers_to_str: bool # default: False
109+
regex_engine: Literal['rust-regex', 'python-re'] # default: 'rust-regex'
109110

110111

111112
IncExCall: TypeAlias = 'set[int | str] | dict[int | str, IncExCall] | None'

0 commit comments

Comments
 (0)