Skip to content

Commit e35a0d8

Browse files
chore(internal): bump pydantic dependency (#81)
1 parent a7bdc57 commit e35a0d8

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed

Diff for: requirements-dev.lock

+2-2
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,9 @@ playwright==1.48.0
8181
# via pytest-playwright
8282
pluggy==1.5.0
8383
# via pytest
84-
pydantic==2.9.2
84+
pydantic==2.10.3
8585
# via browserbase
86-
pydantic-core==2.23.4
86+
pydantic-core==2.27.1
8787
# via pydantic
8888
pyee==12.0.0
8989
# via playwright

Diff for: requirements.lock

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ httpx==0.25.2
3131
idna==3.4
3232
# via anyio
3333
# via httpx
34-
pydantic==2.9.2
34+
pydantic==2.10.3
3535
# via browserbase
36-
pydantic-core==2.23.4
36+
pydantic-core==2.27.1
3737
# via pydantic
3838
sniffio==1.3.0
3939
# via anyio

Diff for: src/browserbase/_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)