Skip to content

Commit 57e23c3

Browse files
release: 1.3.3 (openai#847)
* chore(internal): update type hint for helper function (openai#846) * release: 1.3.3
1 parent eac07a7 commit 57e23c3

File tree

5 files changed

+13
-5
lines changed

5 files changed

+13
-5
lines changed

.release-please-manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "1.3.2"
2+
".": "1.3.3"
33
}

CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changelog
22

3+
## 1.3.3 (2023-11-17)
4+
5+
Full Changelog: [v1.3.2...v1.3.3](https://github.com/openai/openai-python/compare/v1.3.2...v1.3.3)
6+
7+
### Chores
8+
9+
* **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))
10+
311
## 1.3.2 (2023-11-16)
412

513
Full Changelog: [v1.3.1...v1.3.2](https://github.com/openai/openai-python/compare/v1.3.1...v1.3.2)

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "openai"
3-
version = "1.3.2"
3+
version = "1.3.3"
44
description = "The official Python library for the openai API"
55
readme = "README.md"
66
license = "Apache-2.0"

src/openai/_utils/_transform.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from __future__ import annotations
22

3-
from typing import Any, List, Mapping, TypeVar, cast
3+
from typing import Any, Mapping, TypeVar, cast
44
from datetime import date, datetime
55
from typing_extensions import Literal, get_args, override, get_type_hints
66

@@ -60,7 +60,7 @@ def __repr__(self) -> str:
6060

6161

6262
def maybe_transform(
63-
data: Mapping[str, object] | List[Any] | None,
63+
data: object,
6464
expected_type: object,
6565
) -> Any | None:
6666
"""Wrapper over `transform()` that allows `None` to be passed.

src/openai/_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# File generated from our OpenAPI spec by Stainless.
22

33
__title__ = "openai"
4-
__version__ = "1.3.2" # x-release-please-version
4+
__version__ = "1.3.3" # x-release-please-version

0 commit comments

Comments
 (0)