Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b425fb9

Browse filesBrowse files
chore(internal): import reformatting
1 parent 0997211 commit b425fb9
Copy full SHA for b425fb9

25 files changed

+25
-118
lines changed

‎src/openai/resources/audio/speech.py

Copy file name to clipboardExpand all lines: src/openai/resources/audio/speech.py
+1-4Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,7 @@
99

1010
from ... import _legacy_response
1111
from ..._types import NOT_GIVEN, Body, Query, Headers, NotGiven
12-
from ..._utils import (
13-
maybe_transform,
14-
async_maybe_transform,
15-
)
12+
from ..._utils import maybe_transform, async_maybe_transform
1613
from ..._compat import cached_property
1714
from ..._resource import SyncAPIResource, AsyncAPIResource
1815
from ..._response import (

‎src/openai/resources/audio/transcriptions.py

Copy file name to clipboardExpand all lines: src/openai/resources/audio/transcriptions.py
+1-7Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,7 @@
1111
from ... import _legacy_response
1212
from ...types import AudioResponseFormat
1313
from ..._types import NOT_GIVEN, Body, Query, Headers, NotGiven, FileTypes
14-
from ..._utils import (
15-
extract_files,
16-
required_args,
17-
maybe_transform,
18-
deepcopy_minimal,
19-
async_maybe_transform,
20-
)
14+
from ..._utils import extract_files, required_args, maybe_transform, deepcopy_minimal, async_maybe_transform
2115
from ..._compat import cached_property
2216
from ..._resource import SyncAPIResource, AsyncAPIResource
2317
from ..._response import to_streamed_response_wrapper, async_to_streamed_response_wrapper

‎src/openai/resources/audio/translations.py

Copy file name to clipboardExpand all lines: src/openai/resources/audio/translations.py
+1-6Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,7 @@
1010

1111
from ... import _legacy_response
1212
from ..._types import NOT_GIVEN, Body, Query, Headers, NotGiven, FileTypes
13-
from ..._utils import (
14-
extract_files,
15-
maybe_transform,
16-
deepcopy_minimal,
17-
async_maybe_transform,
18-
)
13+
from ..._utils import extract_files, maybe_transform, deepcopy_minimal, async_maybe_transform
1914
from ..._compat import cached_property
2015
from ..._resource import SyncAPIResource, AsyncAPIResource
2116
from ..._response import to_streamed_response_wrapper, async_to_streamed_response_wrapper

‎src/openai/resources/batches.py

Copy file name to clipboardExpand all lines: src/openai/resources/batches.py
+1-4Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,7 @@
1010
from .. import _legacy_response
1111
from ..types import batch_list_params, batch_create_params
1212
from .._types import NOT_GIVEN, Body, Query, Headers, NotGiven
13-
from .._utils import (
14-
maybe_transform,
15-
async_maybe_transform,
16-
)
13+
from .._utils import maybe_transform, async_maybe_transform
1714
from .._compat import cached_property
1815
from .._resource import SyncAPIResource, AsyncAPIResource
1916
from .._response import to_streamed_response_wrapper, async_to_streamed_response_wrapper

‎src/openai/resources/beta/assistants.py

Copy file name to clipboardExpand all lines: src/openai/resources/beta/assistants.py
+1-4Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,7 @@
99

1010
from ... import _legacy_response
1111
from ..._types import NOT_GIVEN, Body, Query, Headers, NotGiven
12-
from ..._utils import (
13-
maybe_transform,
14-
async_maybe_transform,
15-
)
12+
from ..._utils import maybe_transform, async_maybe_transform
1613
from ..._compat import cached_property
1714
from ..._resource import SyncAPIResource, AsyncAPIResource
1815
from ..._response import to_streamed_response_wrapper, async_to_streamed_response_wrapper

‎src/openai/resources/beta/realtime/sessions.py

Copy file name to clipboardExpand all lines: src/openai/resources/beta/realtime/sessions.py
+1-4Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,7 @@
99

1010
from .... import _legacy_response
1111
from ...._types import NOT_GIVEN, Body, Query, Headers, NotGiven
12-
from ...._utils import (
13-
maybe_transform,
14-
async_maybe_transform,
15-
)
12+
from ...._utils import maybe_transform, async_maybe_transform
1613
from ...._compat import cached_property
1714
from ...._resource import SyncAPIResource, AsyncAPIResource
1815
from ...._response import to_streamed_response_wrapper, async_to_streamed_response_wrapper

‎src/openai/resources/beta/realtime/transcription_sessions.py

Copy file name to clipboardExpand all lines: src/openai/resources/beta/realtime/transcription_sessions.py
+1-4Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,7 @@
99

1010
from .... import _legacy_response
1111
from ...._types import NOT_GIVEN, Body, Query, Headers, NotGiven
12-
from ...._utils import (
13-
maybe_transform,
14-
async_maybe_transform,
15-
)
12+
from ...._utils import maybe_transform, async_maybe_transform
1613
from ...._compat import cached_property
1714
from ...._resource import SyncAPIResource, AsyncAPIResource
1815
from ...._response import to_streamed_response_wrapper, async_to_streamed_response_wrapper

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

Copy file name to clipboardExpand all lines: src/openai/resources/beta/threads/messages.py
+1-4Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,7 @@
99

1010
from .... import _legacy_response
1111
from ...._types import NOT_GIVEN, Body, Query, Headers, NotGiven
12-
from ...._utils import (
13-
maybe_transform,
14-
async_maybe_transform,
15-
)
12+
from ...._utils import maybe_transform, async_maybe_transform
1613
from ...._compat import cached_property
1714
from ...._resource import SyncAPIResource, AsyncAPIResource
1815
from ...._response import to_streamed_response_wrapper, async_to_streamed_response_wrapper

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

Copy file name to clipboardExpand all lines: src/openai/resources/beta/threads/runs/steps.py
+1-4Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,7 @@
99

1010
from ..... import _legacy_response
1111
from ....._types import NOT_GIVEN, Body, Query, Headers, NotGiven
12-
from ....._utils import (
13-
maybe_transform,
14-
async_maybe_transform,
15-
)
12+
from ....._utils import maybe_transform, async_maybe_transform
1613
from ....._compat import cached_property
1714
from ....._resource import SyncAPIResource, AsyncAPIResource
1815
from ....._response import to_streamed_response_wrapper, async_to_streamed_response_wrapper

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

Copy file name to clipboardExpand all lines: src/openai/resources/beta/threads/threads.py
+1-5Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,7 @@
1818
AsyncMessagesWithStreamingResponse,
1919
)
2020
from ...._types import NOT_GIVEN, Body, Query, Headers, NotGiven
21-
from ...._utils import (
22-
required_args,
23-
maybe_transform,
24-
async_maybe_transform,
25-
)
21+
from ...._utils import required_args, maybe_transform, async_maybe_transform
2622
from .runs.runs import (
2723
Runs,
2824
AsyncRuns,

‎src/openai/resources/chat/completions/completions.py

Copy file name to clipboardExpand all lines: src/openai/resources/chat/completions/completions.py
+1-5Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,7 @@
1919
AsyncMessagesWithStreamingResponse,
2020
)
2121
from ...._types import NOT_GIVEN, Body, Query, Headers, NotGiven
22-
from ...._utils import (
23-
required_args,
24-
maybe_transform,
25-
async_maybe_transform,
26-
)
22+
from ...._utils import required_args, maybe_transform, async_maybe_transform
2723
from ...._compat import cached_property
2824
from ...._resource import SyncAPIResource, AsyncAPIResource
2925
from ...._response import to_streamed_response_wrapper, async_to_streamed_response_wrapper

‎src/openai/resources/completions.py

Copy file name to clipboardExpand all lines: src/openai/resources/completions.py
+1-5Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,7 @@
1010
from .. import _legacy_response
1111
from ..types import completion_create_params
1212
from .._types import NOT_GIVEN, Body, Query, Headers, NotGiven
13-
from .._utils import (
14-
required_args,
15-
maybe_transform,
16-
async_maybe_transform,
17-
)
13+
from .._utils import required_args, maybe_transform, async_maybe_transform
1814
from .._compat import cached_property
1915
from .._resource import SyncAPIResource, AsyncAPIResource
2016
from .._response import to_streamed_response_wrapper, async_to_streamed_response_wrapper

‎src/openai/resources/evals/evals.py

Copy file name to clipboardExpand all lines: src/openai/resources/evals/evals.py
+1-4Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,7 @@
1010
from ... import _legacy_response
1111
from ...types import eval_list_params, eval_create_params, eval_update_params
1212
from ..._types import NOT_GIVEN, Body, Query, Headers, NotGiven
13-
from ..._utils import (
14-
maybe_transform,
15-
async_maybe_transform,
16-
)
13+
from ..._utils import maybe_transform, async_maybe_transform
1714
from ..._compat import cached_property
1815
from .runs.runs import (
1916
Runs,

‎src/openai/resources/evals/runs/runs.py

Copy file name to clipboardExpand all lines: src/openai/resources/evals/runs/runs.py
+1-4Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,7 @@
99

1010
from .... import _legacy_response
1111
from ...._types import NOT_GIVEN, Body, Query, Headers, NotGiven
12-
from ...._utils import (
13-
maybe_transform,
14-
async_maybe_transform,
15-
)
12+
from ...._utils import maybe_transform, async_maybe_transform
1613
from ...._compat import cached_property
1714
from ...._resource import SyncAPIResource, AsyncAPIResource
1815
from ...._response import to_streamed_response_wrapper, async_to_streamed_response_wrapper

‎src/openai/resources/files.py

Copy file name to clipboardExpand all lines: src/openai/resources/files.py
+1-6Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,7 @@
1212
from .. import _legacy_response
1313
from ..types import FilePurpose, file_list_params, file_create_params
1414
from .._types import NOT_GIVEN, Body, Query, Headers, NotGiven, FileTypes
15-
from .._utils import (
16-
extract_files,
17-
maybe_transform,
18-
deepcopy_minimal,
19-
async_maybe_transform,
20-
)
15+
from .._utils import extract_files, maybe_transform, deepcopy_minimal, async_maybe_transform
2116
from .._compat import cached_property
2217
from .._resource import SyncAPIResource, AsyncAPIResource
2318
from .._response import (

‎src/openai/resources/fine_tuning/checkpoints/permissions.py

Copy file name to clipboardExpand all lines: src/openai/resources/fine_tuning/checkpoints/permissions.py
+1-4Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,7 @@
99

1010
from .... import _legacy_response
1111
from ...._types import NOT_GIVEN, Body, Query, Headers, NotGiven
12-
from ...._utils import (
13-
maybe_transform,
14-
async_maybe_transform,
15-
)
12+
from ...._utils import maybe_transform, async_maybe_transform
1613
from ...._compat import cached_property
1714
from ...._resource import SyncAPIResource, AsyncAPIResource
1815
from ...._response import to_streamed_response_wrapper, async_to_streamed_response_wrapper

‎src/openai/resources/fine_tuning/jobs/jobs.py

Copy file name to clipboardExpand all lines: src/openai/resources/fine_tuning/jobs/jobs.py
+1-4Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,7 @@
99

1010
from .... import _legacy_response
1111
from ...._types import NOT_GIVEN, Body, Query, Headers, NotGiven
12-
from ...._utils import (
13-
maybe_transform,
14-
async_maybe_transform,
15-
)
12+
from ...._utils import maybe_transform, async_maybe_transform
1613
from ...._compat import cached_property
1714
from .checkpoints import (
1815
Checkpoints,

‎src/openai/resources/images.py

Copy file name to clipboardExpand all lines: src/openai/resources/images.py
+1-6Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,7 @@
1010
from .. import _legacy_response
1111
from ..types import image_edit_params, image_generate_params, image_create_variation_params
1212
from .._types import NOT_GIVEN, Body, Query, Headers, NotGiven, FileTypes
13-
from .._utils import (
14-
extract_files,
15-
maybe_transform,
16-
deepcopy_minimal,
17-
async_maybe_transform,
18-
)
13+
from .._utils import extract_files, maybe_transform, deepcopy_minimal, async_maybe_transform
1914
from .._compat import cached_property
2015
from .._resource import SyncAPIResource, AsyncAPIResource
2116
from .._response import to_streamed_response_wrapper, async_to_streamed_response_wrapper

‎src/openai/resources/moderations.py

Copy file name to clipboardExpand all lines: src/openai/resources/moderations.py
+1-4Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,7 @@
99
from .. import _legacy_response
1010
from ..types import moderation_create_params
1111
from .._types import NOT_GIVEN, Body, Query, Headers, NotGiven
12-
from .._utils import (
13-
maybe_transform,
14-
async_maybe_transform,
15-
)
12+
from .._utils import maybe_transform, async_maybe_transform
1613
from .._compat import cached_property
1714
from .._resource import SyncAPIResource, AsyncAPIResource
1815
from .._response import to_streamed_response_wrapper, async_to_streamed_response_wrapper

‎src/openai/resources/responses/responses.py

Copy file name to clipboardExpand all lines: src/openai/resources/responses/responses.py
+1-6Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,7 @@
1010

1111
from ... import _legacy_response
1212
from ..._types import NOT_GIVEN, Body, Query, Headers, NoneType, NotGiven
13-
from ..._utils import (
14-
is_given,
15-
required_args,
16-
maybe_transform,
17-
async_maybe_transform,
18-
)
13+
from ..._utils import is_given, required_args, maybe_transform, async_maybe_transform
1914
from ..._compat import cached_property
2015
from ..._resource import SyncAPIResource, AsyncAPIResource
2116
from ..._response import to_streamed_response_wrapper, async_to_streamed_response_wrapper

‎src/openai/resources/uploads/parts.py

Copy file name to clipboardExpand all lines: src/openai/resources/uploads/parts.py
+1-6Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,7 @@
88

99
from ... import _legacy_response
1010
from ..._types import NOT_GIVEN, Body, Query, Headers, NotGiven, FileTypes
11-
from ..._utils import (
12-
extract_files,
13-
maybe_transform,
14-
deepcopy_minimal,
15-
async_maybe_transform,
16-
)
11+
from ..._utils import extract_files, maybe_transform, deepcopy_minimal, async_maybe_transform
1712
from ..._compat import cached_property
1813
from ..._resource import SyncAPIResource, AsyncAPIResource
1914
from ..._response import to_streamed_response_wrapper, async_to_streamed_response_wrapper

‎src/openai/resources/uploads/uploads.py

Copy file name to clipboardExpand all lines: src/openai/resources/uploads/uploads.py
+1-4Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,7 @@
2323
)
2424
from ...types import FilePurpose, upload_create_params, upload_complete_params
2525
from ..._types import NOT_GIVEN, Body, Query, Headers, NotGiven
26-
from ..._utils import (
27-
maybe_transform,
28-
async_maybe_transform,
29-
)
26+
from ..._utils import maybe_transform, async_maybe_transform
3027
from ..._compat import cached_property
3128
from ..._resource import SyncAPIResource, AsyncAPIResource
3229
from ..._response import to_streamed_response_wrapper, async_to_streamed_response_wrapper

‎src/openai/resources/vector_stores/file_batches.py

Copy file name to clipboardExpand all lines: src/openai/resources/vector_stores/file_batches.py
+1-5Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,7 @@
1313
from ... import _legacy_response
1414
from ...types import FileChunkingStrategyParam
1515
from ..._types import NOT_GIVEN, Body, Query, Headers, NotGiven, FileTypes
16-
from ..._utils import (
17-
is_given,
18-
maybe_transform,
19-
async_maybe_transform,
20-
)
16+
from ..._utils import is_given, maybe_transform, async_maybe_transform
2117
from ..._compat import cached_property
2218
from ..._resource import SyncAPIResource, AsyncAPIResource
2319
from ..._response import to_streamed_response_wrapper, async_to_streamed_response_wrapper

‎src/openai/resources/vector_stores/files.py

Copy file name to clipboardExpand all lines: src/openai/resources/vector_stores/files.py
+1-5Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,7 @@
1010
from ... import _legacy_response
1111
from ...types import FileChunkingStrategyParam
1212
from ..._types import NOT_GIVEN, Body, Query, Headers, NotGiven, FileTypes
13-
from ..._utils import (
14-
is_given,
15-
maybe_transform,
16-
async_maybe_transform,
17-
)
13+
from ..._utils import is_given, maybe_transform, async_maybe_transform
1814
from ..._compat import cached_property
1915
from ..._resource import SyncAPIResource, AsyncAPIResource
2016
from ..._response import to_streamed_response_wrapper, async_to_streamed_response_wrapper

‎src/openai/resources/vector_stores/vector_stores.py

Copy file name to clipboardExpand all lines: src/openai/resources/vector_stores/vector_stores.py
+1-4Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,7 @@
2424
vector_store_update_params,
2525
)
2626
from ..._types import NOT_GIVEN, Body, Query, Headers, NotGiven
27-
from ..._utils import (
28-
maybe_transform,
29-
async_maybe_transform,
30-
)
27+
from ..._utils import maybe_transform, async_maybe_transform
3128
from ..._compat import cached_property
3229
from ..._resource import SyncAPIResource, AsyncAPIResource
3330
from ..._response import to_streamed_response_wrapper, async_to_streamed_response_wrapper

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.