Skip to content

Commit a6bbbbf

Browse files
chore(internal): bump pydantic dependency (#540)
1 parent b0e34ae commit a6bbbbf

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
@@ -62,9 +62,9 @@ platformdirs==3.11.0
6262
# via virtualenv
6363
pluggy==1.5.0
6464
# via pytest
65-
pydantic==2.9.2
65+
pydantic==2.10.3
6666
# via finch-api
67-
pydantic-core==2.23.4
67+
pydantic-core==2.27.1
6868
# via pydantic
6969
pygments==2.18.0
7070
# 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 finch-api
35-
pydantic-core==2.23.4
35+
pydantic-core==2.27.1
3636
# via pydantic
3737
sniffio==1.3.0
3838
# via anyio

src/finch/_types.py

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

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

202200
PostParser = Callable[[Any], Any]
203201

0 commit comments

Comments
 (0)