Skip to content

Commit 32de56f

Browse files
committed
fix types
1 parent 42a9f2f commit 32de56f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/pydantic_core/core_schema.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ class CoreConfig(TypedDict, total=False):
112112
validation_error_cause: bool # default: False
113113
coerce_numbers_to_str: bool # default: False
114114
regex_engine: Literal['rust-regex', 'python-re'] # default: 'rust-regex'
115-
cache_strings: bool | Literal['all', 'keys', 'none'] # default: 'True'
115+
cache_strings: Union[bool, Literal['all', 'keys', 'none']] # default: 'True'
116116

117117

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

0 commit comments

Comments
 (0)