Commit 7d064240
Changed files (5)
src
openai
resources
beta
threads
src/openai/resources/beta/threads/runs/runs.py
@@ -2926,32 +2926,32 @@ class RunsWithRawResponse:
self.create = ( # pyright: ignore[reportDeprecated]
_legacy_response.to_raw_response_wrapper(
- runs.create # pyright: ignore[reportDeprecated],
+ runs.create, # pyright: ignore[reportDeprecated],
)
)
self.retrieve = ( # pyright: ignore[reportDeprecated]
_legacy_response.to_raw_response_wrapper(
- runs.retrieve # pyright: ignore[reportDeprecated],
+ runs.retrieve, # pyright: ignore[reportDeprecated],
)
)
self.update = ( # pyright: ignore[reportDeprecated]
_legacy_response.to_raw_response_wrapper(
- runs.update # pyright: ignore[reportDeprecated],
+ runs.update, # pyright: ignore[reportDeprecated],
)
)
self.list = ( # pyright: ignore[reportDeprecated]
_legacy_response.to_raw_response_wrapper(
- runs.list # pyright: ignore[reportDeprecated],
+ runs.list, # pyright: ignore[reportDeprecated],
)
)
self.cancel = ( # pyright: ignore[reportDeprecated]
_legacy_response.to_raw_response_wrapper(
- runs.cancel # pyright: ignore[reportDeprecated],
+ runs.cancel, # pyright: ignore[reportDeprecated],
)
)
self.submit_tool_outputs = ( # pyright: ignore[reportDeprecated]
_legacy_response.to_raw_response_wrapper(
- runs.submit_tool_outputs # pyright: ignore[reportDeprecated],
+ runs.submit_tool_outputs, # pyright: ignore[reportDeprecated],
)
)
@@ -2966,32 +2966,32 @@ class AsyncRunsWithRawResponse:
self.create = ( # pyright: ignore[reportDeprecated]
_legacy_response.async_to_raw_response_wrapper(
- runs.create # pyright: ignore[reportDeprecated],
+ runs.create, # pyright: ignore[reportDeprecated],
)
)
self.retrieve = ( # pyright: ignore[reportDeprecated]
_legacy_response.async_to_raw_response_wrapper(
- runs.retrieve # pyright: ignore[reportDeprecated],
+ runs.retrieve, # pyright: ignore[reportDeprecated],
)
)
self.update = ( # pyright: ignore[reportDeprecated]
_legacy_response.async_to_raw_response_wrapper(
- runs.update # pyright: ignore[reportDeprecated],
+ runs.update, # pyright: ignore[reportDeprecated],
)
)
self.list = ( # pyright: ignore[reportDeprecated]
_legacy_response.async_to_raw_response_wrapper(
- runs.list # pyright: ignore[reportDeprecated],
+ runs.list, # pyright: ignore[reportDeprecated],
)
)
self.cancel = ( # pyright: ignore[reportDeprecated]
_legacy_response.async_to_raw_response_wrapper(
- runs.cancel # pyright: ignore[reportDeprecated],
+ runs.cancel, # pyright: ignore[reportDeprecated],
)
)
self.submit_tool_outputs = ( # pyright: ignore[reportDeprecated]
_legacy_response.async_to_raw_response_wrapper(
- runs.submit_tool_outputs # pyright: ignore[reportDeprecated],
+ runs.submit_tool_outputs, # pyright: ignore[reportDeprecated],
)
)
@@ -3006,32 +3006,32 @@ class RunsWithStreamingResponse:
self.create = ( # pyright: ignore[reportDeprecated]
to_streamed_response_wrapper(
- runs.create # pyright: ignore[reportDeprecated],
+ runs.create, # pyright: ignore[reportDeprecated],
)
)
self.retrieve = ( # pyright: ignore[reportDeprecated]
to_streamed_response_wrapper(
- runs.retrieve # pyright: ignore[reportDeprecated],
+ runs.retrieve, # pyright: ignore[reportDeprecated],
)
)
self.update = ( # pyright: ignore[reportDeprecated]
to_streamed_response_wrapper(
- runs.update # pyright: ignore[reportDeprecated],
+ runs.update, # pyright: ignore[reportDeprecated],
)
)
self.list = ( # pyright: ignore[reportDeprecated]
to_streamed_response_wrapper(
- runs.list # pyright: ignore[reportDeprecated],
+ runs.list, # pyright: ignore[reportDeprecated],
)
)
self.cancel = ( # pyright: ignore[reportDeprecated]
to_streamed_response_wrapper(
- runs.cancel # pyright: ignore[reportDeprecated],
+ runs.cancel, # pyright: ignore[reportDeprecated],
)
)
self.submit_tool_outputs = ( # pyright: ignore[reportDeprecated]
to_streamed_response_wrapper(
- runs.submit_tool_outputs # pyright: ignore[reportDeprecated],
+ runs.submit_tool_outputs, # pyright: ignore[reportDeprecated],
)
)
@@ -3046,32 +3046,32 @@ class AsyncRunsWithStreamingResponse:
self.create = ( # pyright: ignore[reportDeprecated]
async_to_streamed_response_wrapper(
- runs.create # pyright: ignore[reportDeprecated],
+ runs.create, # pyright: ignore[reportDeprecated],
)
)
self.retrieve = ( # pyright: ignore[reportDeprecated]
async_to_streamed_response_wrapper(
- runs.retrieve # pyright: ignore[reportDeprecated],
+ runs.retrieve, # pyright: ignore[reportDeprecated],
)
)
self.update = ( # pyright: ignore[reportDeprecated]
async_to_streamed_response_wrapper(
- runs.update # pyright: ignore[reportDeprecated],
+ runs.update, # pyright: ignore[reportDeprecated],
)
)
self.list = ( # pyright: ignore[reportDeprecated]
async_to_streamed_response_wrapper(
- runs.list # pyright: ignore[reportDeprecated],
+ runs.list, # pyright: ignore[reportDeprecated],
)
)
self.cancel = ( # pyright: ignore[reportDeprecated]
async_to_streamed_response_wrapper(
- runs.cancel # pyright: ignore[reportDeprecated],
+ runs.cancel, # pyright: ignore[reportDeprecated],
)
)
self.submit_tool_outputs = ( # pyright: ignore[reportDeprecated]
async_to_streamed_response_wrapper(
- runs.submit_tool_outputs # pyright: ignore[reportDeprecated],
+ runs.submit_tool_outputs, # pyright: ignore[reportDeprecated],
)
)
src/openai/resources/beta/threads/runs/steps.py
@@ -341,12 +341,12 @@ class StepsWithRawResponse:
self.retrieve = ( # pyright: ignore[reportDeprecated]
_legacy_response.to_raw_response_wrapper(
- steps.retrieve # pyright: ignore[reportDeprecated],
+ steps.retrieve, # pyright: ignore[reportDeprecated],
)
)
self.list = ( # pyright: ignore[reportDeprecated]
_legacy_response.to_raw_response_wrapper(
- steps.list # pyright: ignore[reportDeprecated],
+ steps.list, # pyright: ignore[reportDeprecated],
)
)
@@ -357,12 +357,12 @@ class AsyncStepsWithRawResponse:
self.retrieve = ( # pyright: ignore[reportDeprecated]
_legacy_response.async_to_raw_response_wrapper(
- steps.retrieve # pyright: ignore[reportDeprecated],
+ steps.retrieve, # pyright: ignore[reportDeprecated],
)
)
self.list = ( # pyright: ignore[reportDeprecated]
_legacy_response.async_to_raw_response_wrapper(
- steps.list # pyright: ignore[reportDeprecated],
+ steps.list, # pyright: ignore[reportDeprecated],
)
)
@@ -373,12 +373,12 @@ class StepsWithStreamingResponse:
self.retrieve = ( # pyright: ignore[reportDeprecated]
to_streamed_response_wrapper(
- steps.retrieve # pyright: ignore[reportDeprecated],
+ steps.retrieve, # pyright: ignore[reportDeprecated],
)
)
self.list = ( # pyright: ignore[reportDeprecated]
to_streamed_response_wrapper(
- steps.list # pyright: ignore[reportDeprecated],
+ steps.list, # pyright: ignore[reportDeprecated],
)
)
@@ -389,11 +389,11 @@ class AsyncStepsWithStreamingResponse:
self.retrieve = ( # pyright: ignore[reportDeprecated]
async_to_streamed_response_wrapper(
- steps.retrieve # pyright: ignore[reportDeprecated],
+ steps.retrieve, # pyright: ignore[reportDeprecated],
)
)
self.list = ( # pyright: ignore[reportDeprecated]
async_to_streamed_response_wrapper(
- steps.list # pyright: ignore[reportDeprecated],
+ steps.list, # pyright: ignore[reportDeprecated],
)
)
src/openai/resources/beta/threads/messages.py
@@ -600,27 +600,27 @@ class MessagesWithRawResponse:
self.create = ( # pyright: ignore[reportDeprecated]
_legacy_response.to_raw_response_wrapper(
- messages.create # pyright: ignore[reportDeprecated],
+ messages.create, # pyright: ignore[reportDeprecated],
)
)
self.retrieve = ( # pyright: ignore[reportDeprecated]
_legacy_response.to_raw_response_wrapper(
- messages.retrieve # pyright: ignore[reportDeprecated],
+ messages.retrieve, # pyright: ignore[reportDeprecated],
)
)
self.update = ( # pyright: ignore[reportDeprecated]
_legacy_response.to_raw_response_wrapper(
- messages.update # pyright: ignore[reportDeprecated],
+ messages.update, # pyright: ignore[reportDeprecated],
)
)
self.list = ( # pyright: ignore[reportDeprecated]
_legacy_response.to_raw_response_wrapper(
- messages.list # pyright: ignore[reportDeprecated],
+ messages.list, # pyright: ignore[reportDeprecated],
)
)
self.delete = ( # pyright: ignore[reportDeprecated]
_legacy_response.to_raw_response_wrapper(
- messages.delete # pyright: ignore[reportDeprecated],
+ messages.delete, # pyright: ignore[reportDeprecated],
)
)
@@ -631,27 +631,27 @@ class AsyncMessagesWithRawResponse:
self.create = ( # pyright: ignore[reportDeprecated]
_legacy_response.async_to_raw_response_wrapper(
- messages.create # pyright: ignore[reportDeprecated],
+ messages.create, # pyright: ignore[reportDeprecated],
)
)
self.retrieve = ( # pyright: ignore[reportDeprecated]
_legacy_response.async_to_raw_response_wrapper(
- messages.retrieve # pyright: ignore[reportDeprecated],
+ messages.retrieve, # pyright: ignore[reportDeprecated],
)
)
self.update = ( # pyright: ignore[reportDeprecated]
_legacy_response.async_to_raw_response_wrapper(
- messages.update # pyright: ignore[reportDeprecated],
+ messages.update, # pyright: ignore[reportDeprecated],
)
)
self.list = ( # pyright: ignore[reportDeprecated]
_legacy_response.async_to_raw_response_wrapper(
- messages.list # pyright: ignore[reportDeprecated],
+ messages.list, # pyright: ignore[reportDeprecated],
)
)
self.delete = ( # pyright: ignore[reportDeprecated]
_legacy_response.async_to_raw_response_wrapper(
- messages.delete # pyright: ignore[reportDeprecated],
+ messages.delete, # pyright: ignore[reportDeprecated],
)
)
@@ -662,27 +662,27 @@ class MessagesWithStreamingResponse:
self.create = ( # pyright: ignore[reportDeprecated]
to_streamed_response_wrapper(
- messages.create # pyright: ignore[reportDeprecated],
+ messages.create, # pyright: ignore[reportDeprecated],
)
)
self.retrieve = ( # pyright: ignore[reportDeprecated]
to_streamed_response_wrapper(
- messages.retrieve # pyright: ignore[reportDeprecated],
+ messages.retrieve, # pyright: ignore[reportDeprecated],
)
)
self.update = ( # pyright: ignore[reportDeprecated]
to_streamed_response_wrapper(
- messages.update # pyright: ignore[reportDeprecated],
+ messages.update, # pyright: ignore[reportDeprecated],
)
)
self.list = ( # pyright: ignore[reportDeprecated]
to_streamed_response_wrapper(
- messages.list # pyright: ignore[reportDeprecated],
+ messages.list, # pyright: ignore[reportDeprecated],
)
)
self.delete = ( # pyright: ignore[reportDeprecated]
to_streamed_response_wrapper(
- messages.delete # pyright: ignore[reportDeprecated],
+ messages.delete, # pyright: ignore[reportDeprecated],
)
)
@@ -693,26 +693,26 @@ class AsyncMessagesWithStreamingResponse:
self.create = ( # pyright: ignore[reportDeprecated]
async_to_streamed_response_wrapper(
- messages.create # pyright: ignore[reportDeprecated],
+ messages.create, # pyright: ignore[reportDeprecated],
)
)
self.retrieve = ( # pyright: ignore[reportDeprecated]
async_to_streamed_response_wrapper(
- messages.retrieve # pyright: ignore[reportDeprecated],
+ messages.retrieve, # pyright: ignore[reportDeprecated],
)
)
self.update = ( # pyright: ignore[reportDeprecated]
async_to_streamed_response_wrapper(
- messages.update # pyright: ignore[reportDeprecated],
+ messages.update, # pyright: ignore[reportDeprecated],
)
)
self.list = ( # pyright: ignore[reportDeprecated]
async_to_streamed_response_wrapper(
- messages.list # pyright: ignore[reportDeprecated],
+ messages.list, # pyright: ignore[reportDeprecated],
)
)
self.delete = ( # pyright: ignore[reportDeprecated]
async_to_streamed_response_wrapper(
- messages.delete # pyright: ignore[reportDeprecated],
+ messages.delete, # pyright: ignore[reportDeprecated],
)
)
src/openai/resources/beta/threads/threads.py
@@ -1785,27 +1785,27 @@ class ThreadsWithRawResponse:
self.create = ( # pyright: ignore[reportDeprecated]
_legacy_response.to_raw_response_wrapper(
- threads.create # pyright: ignore[reportDeprecated],
+ threads.create, # pyright: ignore[reportDeprecated],
)
)
self.retrieve = ( # pyright: ignore[reportDeprecated]
_legacy_response.to_raw_response_wrapper(
- threads.retrieve # pyright: ignore[reportDeprecated],
+ threads.retrieve, # pyright: ignore[reportDeprecated],
)
)
self.update = ( # pyright: ignore[reportDeprecated]
_legacy_response.to_raw_response_wrapper(
- threads.update # pyright: ignore[reportDeprecated],
+ threads.update, # pyright: ignore[reportDeprecated],
)
)
self.delete = ( # pyright: ignore[reportDeprecated]
_legacy_response.to_raw_response_wrapper(
- threads.delete # pyright: ignore[reportDeprecated],
+ threads.delete, # pyright: ignore[reportDeprecated],
)
)
self.create_and_run = ( # pyright: ignore[reportDeprecated]
_legacy_response.to_raw_response_wrapper(
- threads.create_and_run # pyright: ignore[reportDeprecated],
+ threads.create_and_run, # pyright: ignore[reportDeprecated],
)
)
@@ -1824,27 +1824,27 @@ class AsyncThreadsWithRawResponse:
self.create = ( # pyright: ignore[reportDeprecated]
_legacy_response.async_to_raw_response_wrapper(
- threads.create # pyright: ignore[reportDeprecated],
+ threads.create, # pyright: ignore[reportDeprecated],
)
)
self.retrieve = ( # pyright: ignore[reportDeprecated]
_legacy_response.async_to_raw_response_wrapper(
- threads.retrieve # pyright: ignore[reportDeprecated],
+ threads.retrieve, # pyright: ignore[reportDeprecated],
)
)
self.update = ( # pyright: ignore[reportDeprecated]
_legacy_response.async_to_raw_response_wrapper(
- threads.update # pyright: ignore[reportDeprecated],
+ threads.update, # pyright: ignore[reportDeprecated],
)
)
self.delete = ( # pyright: ignore[reportDeprecated]
_legacy_response.async_to_raw_response_wrapper(
- threads.delete # pyright: ignore[reportDeprecated],
+ threads.delete, # pyright: ignore[reportDeprecated],
)
)
self.create_and_run = ( # pyright: ignore[reportDeprecated]
_legacy_response.async_to_raw_response_wrapper(
- threads.create_and_run # pyright: ignore[reportDeprecated],
+ threads.create_and_run, # pyright: ignore[reportDeprecated],
)
)
@@ -1863,27 +1863,27 @@ class ThreadsWithStreamingResponse:
self.create = ( # pyright: ignore[reportDeprecated]
to_streamed_response_wrapper(
- threads.create # pyright: ignore[reportDeprecated],
+ threads.create, # pyright: ignore[reportDeprecated],
)
)
self.retrieve = ( # pyright: ignore[reportDeprecated]
to_streamed_response_wrapper(
- threads.retrieve # pyright: ignore[reportDeprecated],
+ threads.retrieve, # pyright: ignore[reportDeprecated],
)
)
self.update = ( # pyright: ignore[reportDeprecated]
to_streamed_response_wrapper(
- threads.update # pyright: ignore[reportDeprecated],
+ threads.update, # pyright: ignore[reportDeprecated],
)
)
self.delete = ( # pyright: ignore[reportDeprecated]
to_streamed_response_wrapper(
- threads.delete # pyright: ignore[reportDeprecated],
+ threads.delete, # pyright: ignore[reportDeprecated],
)
)
self.create_and_run = ( # pyright: ignore[reportDeprecated]
to_streamed_response_wrapper(
- threads.create_and_run # pyright: ignore[reportDeprecated],
+ threads.create_and_run, # pyright: ignore[reportDeprecated],
)
)
@@ -1902,27 +1902,27 @@ class AsyncThreadsWithStreamingResponse:
self.create = ( # pyright: ignore[reportDeprecated]
async_to_streamed_response_wrapper(
- threads.create # pyright: ignore[reportDeprecated],
+ threads.create, # pyright: ignore[reportDeprecated],
)
)
self.retrieve = ( # pyright: ignore[reportDeprecated]
async_to_streamed_response_wrapper(
- threads.retrieve # pyright: ignore[reportDeprecated],
+ threads.retrieve, # pyright: ignore[reportDeprecated],
)
)
self.update = ( # pyright: ignore[reportDeprecated]
async_to_streamed_response_wrapper(
- threads.update # pyright: ignore[reportDeprecated],
+ threads.update, # pyright: ignore[reportDeprecated],
)
)
self.delete = ( # pyright: ignore[reportDeprecated]
async_to_streamed_response_wrapper(
- threads.delete # pyright: ignore[reportDeprecated],
+ threads.delete, # pyright: ignore[reportDeprecated],
)
)
self.create_and_run = ( # pyright: ignore[reportDeprecated]
async_to_streamed_response_wrapper(
- threads.create_and_run # pyright: ignore[reportDeprecated],
+ threads.create_and_run, # pyright: ignore[reportDeprecated],
)
)
src/openai/resources/files.py
@@ -687,7 +687,7 @@ class FilesWithRawResponse:
)
self.retrieve_content = ( # pyright: ignore[reportDeprecated]
_legacy_response.to_raw_response_wrapper(
- files.retrieve_content # pyright: ignore[reportDeprecated],
+ files.retrieve_content, # pyright: ignore[reportDeprecated],
)
)
@@ -713,7 +713,7 @@ class AsyncFilesWithRawResponse:
)
self.retrieve_content = ( # pyright: ignore[reportDeprecated]
_legacy_response.async_to_raw_response_wrapper(
- files.retrieve_content # pyright: ignore[reportDeprecated],
+ files.retrieve_content, # pyright: ignore[reportDeprecated],
)
)
@@ -740,7 +740,7 @@ class FilesWithStreamingResponse:
)
self.retrieve_content = ( # pyright: ignore[reportDeprecated]
to_streamed_response_wrapper(
- files.retrieve_content # pyright: ignore[reportDeprecated],
+ files.retrieve_content, # pyright: ignore[reportDeprecated],
)
)
@@ -767,6 +767,6 @@ class AsyncFilesWithStreamingResponse:
)
self.retrieve_content = ( # pyright: ignore[reportDeprecated]
async_to_streamed_response_wrapper(
- files.retrieve_content # pyright: ignore[reportDeprecated],
+ files.retrieve_content, # pyright: ignore[reportDeprecated],
)
)