Commit 01d3b373
Changed files (5)
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 @@ class PropertyInfo:
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.
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
.release-please-manifest.json
@@ -1,3 +1,3 @@
{
- ".": "1.3.2"
+ ".": "1.3.3"
}
\ No newline at end of file
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)
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"