Skip to content

Commit ff3807c

Browse files
chore(internal): bump pydantic dependency (#2251)
1 parent cb658ad commit ff3807c

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed

requirements-dev.lock

+2-2
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@ platformdirs==3.11.0
6161
# via virtualenv
6262
pluggy==1.5.0
6363
# via pytest
64-
pydantic==2.9.2
64+
pydantic==2.10.3
6565
# via cloudflare
66-
pydantic-core==2.23.4
66+
pydantic-core==2.27.1
6767
# via pydantic
6868
pygments==2.18.0
6969
# via rich

requirements.lock

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ httpx==0.25.2
3030
idna==3.4
3131
# via anyio
3232
# via httpx
33-
pydantic==2.9.2
33+
pydantic==2.10.3
3434
# via cloudflare
35-
pydantic-core==2.23.4
35+
pydantic-core==2.27.1
3636
# via pydantic
3737
sniffio==1.3.0
3838
# via anyio

src/cloudflare/_types.py

+2-4
Original file line numberDiff line numberDiff line change
@@ -192,10 +192,8 @@ def get(self, __key: str) -> str | None: ...
192192
StrBytesIntFloat = Union[str, bytes, int, float]
193193

194194
# Note: copied from Pydantic
195-
# https://github.com/pydantic/pydantic/blob/32ea570bf96e84234d2992e1ddf40ab8a565925a/pydantic/main.py#L49
196-
IncEx: TypeAlias = Union[
197-
Set[int], Set[str], Mapping[int, Union["IncEx", Literal[True]]], Mapping[str, Union["IncEx", Literal[True]]]
198-
]
195+
# https://github.com/pydantic/pydantic/blob/6f31f8f68ef011f84357330186f603ff295312fd/pydantic/main.py#L79
196+
IncEx: TypeAlias = Union[Set[int], Set[str], Mapping[int, Union["IncEx", bool]], Mapping[str, Union["IncEx", bool]]]
199197

200198
PostParser = Callable[[Any], Any]
201199

0 commit comments

Comments
 (0)