Skip to content

Commit e4a9553

Browse files
release: 1.23.3 (#1360)
* chore(internal): restructure imports (#1359) * release: 1.23.3
1 parent c117779 commit e4a9553

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+106
-112
lines changed

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "1.23.2"
2+
".": "1.23.3"
33
}

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changelog
22

3+
## 1.23.3 (2024-04-23)
4+
5+
Full Changelog: [v1.23.2...v1.23.3](https://github.com/openai/openai-python/compare/v1.23.2...v1.23.3)
6+
7+
### Chores
8+
9+
* **internal:** restructure imports ([#1359](https://github.com/openai/openai-python/issues/1359)) ([4e5eb37](https://github.com/openai/openai-python/commit/4e5eb374ea0545a6117db657bb05f6417bc62d18))
10+
311
## 1.23.2 (2024-04-19)
412

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

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "openai"
3-
version = "1.23.2"
3+
version = "1.23.3"
44
description = "The official Python library for the openai API"
55
dynamic = ["readme"]
66
license = "Apache-2.0"

src/openai/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

33
__title__ = "openai"
4-
__version__ = "1.23.2" # x-release-please-version
4+
__version__ = "1.23.3" # x-release-please-version

src/openai/resources/audio/transcriptions.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,11 @@
1818
from ..._compat import cached_property
1919
from ..._resource import SyncAPIResource, AsyncAPIResource
2020
from ..._response import to_streamed_response_wrapper, async_to_streamed_response_wrapper
21-
from ...types.audio import Transcription, transcription_create_params
21+
from ...types.audio import transcription_create_params
2222
from ..._base_client import (
2323
make_request_options,
2424
)
25+
from ...types.audio.transcription import Transcription
2526

2627
__all__ = ["Transcriptions", "AsyncTranscriptions"]
2728

src/openai/resources/audio/translations.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,11 @@
1818
from ..._compat import cached_property
1919
from ..._resource import SyncAPIResource, AsyncAPIResource
2020
from ..._response import to_streamed_response_wrapper, async_to_streamed_response_wrapper
21-
from ...types.audio import Translation, translation_create_params
21+
from ...types.audio import translation_create_params
2222
from ..._base_client import (
2323
make_request_options,
2424
)
25+
from ...types.audio.translation import Translation
2526

2627
__all__ = ["Translations", "AsyncTranslations"]
2728

src/openai/resources/batches.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import httpx
99

1010
from .. import _legacy_response
11-
from ..types import Batch, batch_list_params, batch_create_params
11+
from ..types import batch_list_params, batch_create_params
1212
from .._types import NOT_GIVEN, Body, Query, Headers, NotGiven
1313
from .._utils import (
1414
maybe_transform,
@@ -18,6 +18,7 @@
1818
from .._resource import SyncAPIResource, AsyncAPIResource
1919
from .._response import to_streamed_response_wrapper, async_to_streamed_response_wrapper
2020
from ..pagination import SyncCursorPage, AsyncCursorPage
21+
from ..types.batch import Batch
2122
from .._base_client import (
2223
AsyncPaginator,
2324
make_request_options,

src/openai/resources/beta/assistants.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,6 @@
1818
from ..._response import to_streamed_response_wrapper, async_to_streamed_response_wrapper
1919
from ...pagination import SyncCursorPage, AsyncCursorPage
2020
from ...types.beta import (
21-
Assistant,
22-
AssistantDeleted,
23-
AssistantToolParam,
24-
AssistantResponseFormatOptionParam,
2521
assistant_list_params,
2622
assistant_create_params,
2723
assistant_update_params,
@@ -30,6 +26,10 @@
3026
AsyncPaginator,
3127
make_request_options,
3228
)
29+
from ...types.beta.assistant import Assistant
30+
from ...types.beta.assistant_deleted import AssistantDeleted
31+
from ...types.beta.assistant_tool_param import AssistantToolParam
32+
from ...types.beta.assistant_response_format_option_param import AssistantResponseFormatOptionParam
3333

3434
__all__ = ["Assistants", "AsyncAssistants"]
3535

src/openai/resources/beta/threads/messages.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
AsyncPaginator,
2222
make_request_options,
2323
)
24-
from ....types.beta.threads import Message, message_list_params, message_create_params, message_update_params
24+
from ....types.beta.threads import message_list_params, message_create_params, message_update_params
25+
from ....types.beta.threads.message import Message
2526

2627
__all__ = ["Messages", "AsyncMessages"]
2728

src/openai/resources/beta/threads/runs/runs.py

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,6 @@
3131
from ....._response import to_streamed_response_wrapper, async_to_streamed_response_wrapper
3232
from ....._streaming import Stream, AsyncStream
3333
from .....pagination import SyncCursorPage, AsyncCursorPage
34-
from .....types.beta import (
35-
AssistantToolParam,
36-
AssistantStreamEvent,
37-
AssistantToolChoiceOptionParam,
38-
AssistantResponseFormatOptionParam,
39-
)
4034
from ....._base_client import (
4135
AsyncPaginator,
4236
make_request_options,
@@ -50,12 +44,16 @@
5044
AsyncAssistantStreamManager,
5145
)
5246
from .....types.beta.threads import (
53-
Run,
5447
run_list_params,
5548
run_create_params,
5649
run_update_params,
5750
run_submit_tool_outputs_params,
5851
)
52+
from .....types.beta.threads.run import Run
53+
from .....types.beta.assistant_tool_param import AssistantToolParam
54+
from .....types.beta.assistant_stream_event import AssistantStreamEvent
55+
from .....types.beta.assistant_tool_choice_option_param import AssistantToolChoiceOptionParam
56+
from .....types.beta.assistant_response_format_option_param import AssistantResponseFormatOptionParam
5957

6058
__all__ = ["Runs", "AsyncRuns"]
6159

0 commit comments

Comments
 (0)