Commit 64e3ec0f
Changed files (3)
src/openai/_types.py
@@ -194,10 +194,8 @@ ResponseT = TypeVar(
StrBytesIntFloat = Union[str, bytes, int, float]
# Note: copied from Pydantic
-# https://github.com/pydantic/pydantic/blob/32ea570bf96e84234d2992e1ddf40ab8a565925a/pydantic/main.py#L49
-IncEx: TypeAlias = Union[
- Set[int], Set[str], Mapping[int, Union["IncEx", Literal[True]]], Mapping[str, Union["IncEx", Literal[True]]]
-]
+# https://github.com/pydantic/pydantic/blob/6f31f8f68ef011f84357330186f603ff295312fd/pydantic/main.py#L79
+IncEx: TypeAlias = Union[Set[int], Set[str], Mapping[int, Union["IncEx", bool]], Mapping[str, Union["IncEx", bool]]]
PostParser = Callable[[Any], Any]
requirements-dev.lock
@@ -7,7 +7,6 @@
# all-features: true
# with-sources: false
# generate-hashes: false
-# universal: false
-e file:.
annotated-types==0.6.0
@@ -117,9 +116,9 @@ portalocker==2.10.1
# via msal-extensions
pycparser==2.22
# via cffi
-pydantic==2.9.2
+pydantic==2.10.3
# via openai
-pydantic-core==2.23.4
+pydantic-core==2.27.1
# via pydantic
pygments==2.18.0
# via rich
requirements.lock
@@ -7,7 +7,6 @@
# all-features: true
# with-sources: false
# generate-hashes: false
-# universal: false
-e file:.
annotated-types==0.6.0
@@ -41,9 +40,9 @@ pandas==2.2.3
# via openai
pandas-stubs==2.2.2.240807
# via openai
-pydantic==2.9.2
+pydantic==2.10.3
# via openai
-pydantic-core==2.23.4
+pydantic-core==2.27.1
# via pydantic
python-dateutil==2.9.0.post0
# via pandas