diff --git a/.release-please-manifest.json b/.release-please-manifest.json index c658eefeff..8022176dd3 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.3.2" + ".": "1.3.3" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 040aa45486..970724b4b8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 1.3.3 (2023-11-17) + +Full Changelog: [v1.3.2...v1.3.3](https://github.com/openai/openai-python/compare/v1.3.2...v1.3.3) + +### Chores + +* **internal:** update type hint for helper function ([#846](https://github.com/openai/openai-python/issues/846)) ([9a5966c](https://github.com/openai/openai-python/commit/9a5966c70fce620a183de580938556730564a405)) + ## 1.3.2 (2023-11-16) Full Changelog: [v1.3.1...v1.3.2](https://github.com/openai/openai-python/compare/v1.3.1...v1.3.2) diff --git a/pyproject.toml b/pyproject.toml index e6c3422db5..8c9c6022f2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "openai" -version = "1.3.2" +version = "1.3.3" description = "The official Python library for the openai API" readme = "README.md" license = "Apache-2.0" diff --git a/src/openai/_utils/_transform.py b/src/openai/_utils/_transform.py index d953505fff..769f7362b9 100644 --- a/src/openai/_utils/_transform.py +++ b/src/openai/_utils/_transform.py @@ -1,6 +1,6 @@ from __future__ import annotations -from typing import Any, List, Mapping, TypeVar, cast +from typing import Any, Mapping, TypeVar, cast from datetime import date, datetime from typing_extensions import Literal, get_args, override, get_type_hints @@ -60,7 +60,7 @@ def __repr__(self) -> str: def maybe_transform( - data: Mapping[str, object] | List[Any] | None, + data: object, expected_type: object, ) -> Any | None: """Wrapper over `transform()` that allows `None` to be passed. diff --git a/src/openai/_version.py b/src/openai/_version.py index 12c20f5fa2..b04859b6bb 100644 --- a/src/openai/_version.py +++ b/src/openai/_version.py @@ -1,4 +1,4 @@ # File generated from our OpenAPI spec by Stainless. __title__ = "openai" -__version__ = "1.3.2" # x-release-please-version +__version__ = "1.3.3" # x-release-please-version