Skip to content

Commit 818de7b

Browse files
docs(raw responses): fix duplicate the (#2039)
1 parent 1fdaea4 commit 818de7b

29 files changed

+58
-58
lines changed

src/openai/resources/audio/audio.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def speech(self) -> Speech:
4848
@cached_property
4949
def with_raw_response(self) -> AudioWithRawResponse:
5050
"""
51-
This property can be used as a prefix for any HTTP method call to return the
51+
This property can be used as a prefix for any HTTP method call to return
5252
the raw response object instead of the parsed content.
5353
5454
For more information, see https://www.github.com/openai/openai-python#accessing-raw-response-data-eg-headers
@@ -81,7 +81,7 @@ def speech(self) -> AsyncSpeech:
8181
@cached_property
8282
def with_raw_response(self) -> AsyncAudioWithRawResponse:
8383
"""
84-
This property can be used as a prefix for any HTTP method call to return the
84+
This property can be used as a prefix for any HTTP method call to return
8585
the raw response object instead of the parsed content.
8686
8787
For more information, see https://www.github.com/openai/openai-python#accessing-raw-response-data-eg-headers

src/openai/resources/audio/speech.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class Speech(SyncAPIResource):
3232
@cached_property
3333
def with_raw_response(self) -> SpeechWithRawResponse:
3434
"""
35-
This property can be used as a prefix for any HTTP method call to return the
35+
This property can be used as a prefix for any HTTP method call to return
3636
the raw response object instead of the parsed content.
3737
3838
For more information, see https://www.github.com/openai/openai-python#accessing-raw-response-data-eg-headers
@@ -116,7 +116,7 @@ class AsyncSpeech(AsyncAPIResource):
116116
@cached_property
117117
def with_raw_response(self) -> AsyncSpeechWithRawResponse:
118118
"""
119-
This property can be used as a prefix for any HTTP method call to return the
119+
This property can be used as a prefix for any HTTP method call to return
120120
the raw response object instead of the parsed content.
121121
122122
For more information, see https://www.github.com/openai/openai-python#accessing-raw-response-data-eg-headers

src/openai/resources/audio/transcriptions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class Transcriptions(SyncAPIResource):
3232
@cached_property
3333
def with_raw_response(self) -> TranscriptionsWithRawResponse:
3434
"""
35-
This property can be used as a prefix for any HTTP method call to return the
35+
This property can be used as a prefix for any HTTP method call to return
3636
the raw response object instead of the parsed content.
3737
3838
For more information, see https://www.github.com/openai/openai-python#accessing-raw-response-data-eg-headers
@@ -144,7 +144,7 @@ class AsyncTranscriptions(AsyncAPIResource):
144144
@cached_property
145145
def with_raw_response(self) -> AsyncTranscriptionsWithRawResponse:
146146
"""
147-
This property can be used as a prefix for any HTTP method call to return the
147+
This property can be used as a prefix for any HTTP method call to return
148148
the raw response object instead of the parsed content.
149149
150150
For more information, see https://www.github.com/openai/openai-python#accessing-raw-response-data-eg-headers

src/openai/resources/audio/translations.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class Translations(SyncAPIResource):
3131
@cached_property
3232
def with_raw_response(self) -> TranslationsWithRawResponse:
3333
"""
34-
This property can be used as a prefix for any HTTP method call to return the
34+
This property can be used as a prefix for any HTTP method call to return
3535
the raw response object instead of the parsed content.
3636
3737
For more information, see https://www.github.com/openai/openai-python#accessing-raw-response-data-eg-headers
@@ -128,7 +128,7 @@ class AsyncTranslations(AsyncAPIResource):
128128
@cached_property
129129
def with_raw_response(self) -> AsyncTranslationsWithRawResponse:
130130
"""
131-
This property can be used as a prefix for any HTTP method call to return the
131+
This property can be used as a prefix for any HTTP method call to return
132132
the raw response object instead of the parsed content.
133133
134134
For more information, see https://www.github.com/openai/openai-python#accessing-raw-response-data-eg-headers

src/openai/resources/batches.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class Batches(SyncAPIResource):
2828
@cached_property
2929
def with_raw_response(self) -> BatchesWithRawResponse:
3030
"""
31-
This property can be used as a prefix for any HTTP method call to return the
31+
This property can be used as a prefix for any HTTP method call to return
3232
the raw response object instead of the parsed content.
3333
3434
For more information, see https://www.github.com/openai/openai-python#accessing-raw-response-data-eg-headers
@@ -233,7 +233,7 @@ class AsyncBatches(AsyncAPIResource):
233233
@cached_property
234234
def with_raw_response(self) -> AsyncBatchesWithRawResponse:
235235
"""
236-
This property can be used as a prefix for any HTTP method call to return the
236+
This property can be used as a prefix for any HTTP method call to return
237237
the raw response object instead of the parsed content.
238238
239239
For more information, see https://www.github.com/openai/openai-python#accessing-raw-response-data-eg-headers

src/openai/resources/beta/assistants.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class Assistants(SyncAPIResource):
3636
@cached_property
3737
def with_raw_response(self) -> AssistantsWithRawResponse:
3838
"""
39-
This property can be used as a prefix for any HTTP method call to return the
39+
This property can be used as a prefix for any HTTP method call to return
4040
the raw response object instead of the parsed content.
4141
4242
For more information, see https://www.github.com/openai/openai-python#accessing-raw-response-data-eg-headers
@@ -422,7 +422,7 @@ class AsyncAssistants(AsyncAPIResource):
422422
@cached_property
423423
def with_raw_response(self) -> AsyncAssistantsWithRawResponse:
424424
"""
425-
This property can be used as a prefix for any HTTP method call to return the
425+
This property can be used as a prefix for any HTTP method call to return
426426
the raw response object instead of the parsed content.
427427
428428
For more information, see https://www.github.com/openai/openai-python#accessing-raw-response-data-eg-headers

src/openai/resources/beta/beta.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def threads(self) -> Threads:
6060
@cached_property
6161
def with_raw_response(self) -> BetaWithRawResponse:
6262
"""
63-
This property can be used as a prefix for any HTTP method call to return the
63+
This property can be used as a prefix for any HTTP method call to return
6464
the raw response object instead of the parsed content.
6565
6666
For more information, see https://www.github.com/openai/openai-python#accessing-raw-response-data-eg-headers
@@ -97,7 +97,7 @@ def threads(self) -> AsyncThreads:
9797
@cached_property
9898
def with_raw_response(self) -> AsyncBetaWithRawResponse:
9999
"""
100-
This property can be used as a prefix for any HTTP method call to return the
100+
This property can be used as a prefix for any HTTP method call to return
101101
the raw response object instead of the parsed content.
102102
103103
For more information, see https://www.github.com/openai/openai-python#accessing-raw-response-data-eg-headers

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def sessions(self) -> Sessions:
5656
@cached_property
5757
def with_raw_response(self) -> RealtimeWithRawResponse:
5858
"""
59-
This property can be used as a prefix for any HTTP method call to return the
59+
This property can be used as a prefix for any HTTP method call to return
6060
the raw response object instead of the parsed content.
6161
6262
For more information, see https://www.github.com/openai/openai-python#accessing-raw-response-data-eg-headers
@@ -108,7 +108,7 @@ def sessions(self) -> AsyncSessions:
108108
@cached_property
109109
def with_raw_response(self) -> AsyncRealtimeWithRawResponse:
110110
"""
111-
This property can be used as a prefix for any HTTP method call to return the
111+
This property can be used as a prefix for any HTTP method call to return
112112
the raw response object instead of the parsed content.
113113
114114
For more information, see https://www.github.com/openai/openai-python#accessing-raw-response-data-eg-headers

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class Sessions(SyncAPIResource):
2727
@cached_property
2828
def with_raw_response(self) -> SessionsWithRawResponse:
2929
"""
30-
This property can be used as a prefix for any HTTP method call to return the
30+
This property can be used as a prefix for any HTTP method call to return
3131
the raw response object instead of the parsed content.
3232
3333
For more information, see https://www.github.com/openai/openai-python#accessing-raw-response-data-eg-headers
@@ -166,7 +166,7 @@ class AsyncSessions(AsyncAPIResource):
166166
@cached_property
167167
def with_raw_response(self) -> AsyncSessionsWithRawResponse:
168168
"""
169-
This property can be used as a prefix for any HTTP method call to return the
169+
This property can be used as a prefix for any HTTP method call to return
170170
the raw response object instead of the parsed content.
171171
172172
For more information, see https://www.github.com/openai/openai-python#accessing-raw-response-data-eg-headers

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class Messages(SyncAPIResource):
3030
@cached_property
3131
def with_raw_response(self) -> MessagesWithRawResponse:
3232
"""
33-
This property can be used as a prefix for any HTTP method call to return the
33+
This property can be used as a prefix for any HTTP method call to return
3434
the raw response object instead of the parsed content.
3535
3636
For more information, see https://www.github.com/openai/openai-python#accessing-raw-response-data-eg-headers
@@ -304,7 +304,7 @@ class AsyncMessages(AsyncAPIResource):
304304
@cached_property
305305
def with_raw_response(self) -> AsyncMessagesWithRawResponse:
306306
"""
307-
This property can be used as a prefix for any HTTP method call to return the
307+
This property can be used as a prefix for any HTTP method call to return
308308
the raw response object instead of the parsed content.
309309
310310
For more information, see https://www.github.com/openai/openai-python#accessing-raw-response-data-eg-headers

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def steps(self) -> Steps:
5353
@cached_property
5454
def with_raw_response(self) -> RunsWithRawResponse:
5555
"""
56-
This property can be used as a prefix for any HTTP method call to return the
56+
This property can be used as a prefix for any HTTP method call to return
5757
the raw response object instead of the parsed content.
5858
5959
For more information, see https://www.github.com/openai/openai-python#accessing-raw-response-data-eg-headers
@@ -901,7 +901,7 @@ def steps(self) -> AsyncSteps:
901901
@cached_property
902902
def with_raw_response(self) -> AsyncRunsWithRawResponse:
903903
"""
904-
This property can be used as a prefix for any HTTP method call to return the
904+
This property can be used as a prefix for any HTTP method call to return
905905
the raw response object instead of the parsed content.
906906
907907
For more information, see https://www.github.com/openai/openai-python#accessing-raw-response-data-eg-headers

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class Steps(SyncAPIResource):
2929
@cached_property
3030
def with_raw_response(self) -> StepsWithRawResponse:
3131
"""
32-
This property can be used as a prefix for any HTTP method call to return the
32+
This property can be used as a prefix for any HTTP method call to return
3333
the raw response object instead of the parsed content.
3434
3535
For more information, see https://www.github.com/openai/openai-python#accessing-raw-response-data-eg-headers
@@ -183,7 +183,7 @@ class AsyncSteps(AsyncAPIResource):
183183
@cached_property
184184
def with_raw_response(self) -> AsyncStepsWithRawResponse:
185185
"""
186-
This property can be used as a prefix for any HTTP method call to return the
186+
This property can be used as a prefix for any HTTP method call to return
187187
the raw response object instead of the parsed content.
188188
189189
For more information, see https://www.github.com/openai/openai-python#accessing-raw-response-data-eg-headers

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def messages(self) -> Messages:
6363
@cached_property
6464
def with_raw_response(self) -> ThreadsWithRawResponse:
6565
"""
66-
This property can be used as a prefix for any HTTP method call to return the
66+
This property can be used as a prefix for any HTTP method call to return
6767
the raw response object instead of the parsed content.
6868
6969
For more information, see https://www.github.com/openai/openai-python#accessing-raw-response-data-eg-headers
@@ -717,7 +717,7 @@ def messages(self) -> AsyncMessages:
717717
@cached_property
718718
def with_raw_response(self) -> AsyncThreadsWithRawResponse:
719719
"""
720-
This property can be used as a prefix for any HTTP method call to return the
720+
This property can be used as a prefix for any HTTP method call to return
721721
the raw response object instead of the parsed content.
722722
723723
For more information, see https://www.github.com/openai/openai-python#accessing-raw-response-data-eg-headers

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class FileBatches(SyncAPIResource):
3131
@cached_property
3232
def with_raw_response(self) -> FileBatchesWithRawResponse:
3333
"""
34-
This property can be used as a prefix for any HTTP method call to return the
34+
This property can be used as a prefix for any HTTP method call to return
3535
the raw response object instead of the parsed content.
3636
3737
For more information, see https://www.github.com/openai/openai-python#accessing-raw-response-data-eg-headers
@@ -252,7 +252,7 @@ class AsyncFileBatches(AsyncAPIResource):
252252
@cached_property
253253
def with_raw_response(self) -> AsyncFileBatchesWithRawResponse:
254254
"""
255-
This property can be used as a prefix for any HTTP method call to return the
255+
This property can be used as a prefix for any HTTP method call to return
256256
the raw response object instead of the parsed content.
257257
258258
For more information, see https://www.github.com/openai/openai-python#accessing-raw-response-data-eg-headers

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class Files(SyncAPIResource):
3030
@cached_property
3131
def with_raw_response(self) -> FilesWithRawResponse:
3232
"""
33-
This property can be used as a prefix for any HTTP method call to return the
33+
This property can be used as a prefix for any HTTP method call to return
3434
the raw response object instead of the parsed content.
3535
3636
For more information, see https://www.github.com/openai/openai-python#accessing-raw-response-data-eg-headers
@@ -252,7 +252,7 @@ class AsyncFiles(AsyncAPIResource):
252252
@cached_property
253253
def with_raw_response(self) -> AsyncFilesWithRawResponse:
254254
"""
255-
This property can be used as a prefix for any HTTP method call to return the
255+
This property can be used as a prefix for any HTTP method call to return
256256
the raw response object instead of the parsed content.
257257
258258
For more information, see https://www.github.com/openai/openai-python#accessing-raw-response-data-eg-headers

src/openai/resources/beta/vector_stores/vector_stores.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def file_batches(self) -> FileBatches:
5959
@cached_property
6060
def with_raw_response(self) -> VectorStoresWithRawResponse:
6161
"""
62-
This property can be used as a prefix for any HTTP method call to return the
62+
This property can be used as a prefix for any HTTP method call to return
6363
the raw response object instead of the parsed content.
6464
6565
For more information, see https://www.github.com/openai/openai-python#accessing-raw-response-data-eg-headers
@@ -337,7 +337,7 @@ def file_batches(self) -> AsyncFileBatches:
337337
@cached_property
338338
def with_raw_response(self) -> AsyncVectorStoresWithRawResponse:
339339
"""
340-
This property can be used as a prefix for any HTTP method call to return the
340+
This property can be used as a prefix for any HTTP method call to return
341341
the raw response object instead of the parsed content.
342342
343343
For more information, see https://www.github.com/openai/openai-python#accessing-raw-response-data-eg-headers

src/openai/resources/chat/chat.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def completions(self) -> Completions:
2424
@cached_property
2525
def with_raw_response(self) -> ChatWithRawResponse:
2626
"""
27-
This property can be used as a prefix for any HTTP method call to return the
27+
This property can be used as a prefix for any HTTP method call to return
2828
the raw response object instead of the parsed content.
2929
3030
For more information, see https://www.github.com/openai/openai-python#accessing-raw-response-data-eg-headers
@@ -49,7 +49,7 @@ def completions(self) -> AsyncCompletions:
4949
@cached_property
5050
def with_raw_response(self) -> AsyncChatWithRawResponse:
5151
"""
52-
This property can be used as a prefix for any HTTP method call to return the
52+
This property can be used as a prefix for any HTTP method call to return
5353
the raw response object instead of the parsed content.
5454
5555
For more information, see https://www.github.com/openai/openai-python#accessing-raw-response-data-eg-headers

src/openai/resources/chat/completions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class Completions(SyncAPIResource):
4343
@cached_property
4444
def with_raw_response(self) -> CompletionsWithRawResponse:
4545
"""
46-
This property can be used as a prefix for any HTTP method call to return the
46+
This property can be used as a prefix for any HTTP method call to return
4747
the raw response object instead of the parsed content.
4848
4949
For more information, see https://www.github.com/openai/openai-python#accessing-raw-response-data-eg-headers
@@ -903,7 +903,7 @@ class AsyncCompletions(AsyncAPIResource):
903903
@cached_property
904904
def with_raw_response(self) -> AsyncCompletionsWithRawResponse:
905905
"""
906-
This property can be used as a prefix for any HTTP method call to return the
906+
This property can be used as a prefix for any HTTP method call to return
907907
the raw response object instead of the parsed content.
908908
909909
For more information, see https://www.github.com/openai/openai-python#accessing-raw-response-data-eg-headers

src/openai/resources/completions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class Completions(SyncAPIResource):
3030
@cached_property
3131
def with_raw_response(self) -> CompletionsWithRawResponse:
3232
"""
33-
This property can be used as a prefix for any HTTP method call to return the
33+
This property can be used as a prefix for any HTTP method call to return
3434
the raw response object instead of the parsed content.
3535
3636
For more information, see https://www.github.com/openai/openai-python#accessing-raw-response-data-eg-headers
@@ -572,7 +572,7 @@ class AsyncCompletions(AsyncAPIResource):
572572
@cached_property
573573
def with_raw_response(self) -> AsyncCompletionsWithRawResponse:
574574
"""
575-
This property can be used as a prefix for any HTTP method call to return the
575+
This property can be used as a prefix for any HTTP method call to return
576576
the raw response object instead of the parsed content.
577577
578578
For more information, see https://www.github.com/openai/openai-python#accessing-raw-response-data-eg-headers

src/openai/resources/embeddings.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class Embeddings(SyncAPIResource):
2828
@cached_property
2929
def with_raw_response(self) -> EmbeddingsWithRawResponse:
3030
"""
31-
This property can be used as a prefix for any HTTP method call to return the
31+
This property can be used as a prefix for any HTTP method call to return
3232
the raw response object instead of the parsed content.
3333
3434
For more information, see https://www.github.com/openai/openai-python#accessing-raw-response-data-eg-headers
@@ -118,7 +118,7 @@ class AsyncEmbeddings(AsyncAPIResource):
118118
@cached_property
119119
def with_raw_response(self) -> AsyncEmbeddingsWithRawResponse:
120120
"""
121-
This property can be used as a prefix for any HTTP method call to return the
121+
This property can be used as a prefix for any HTTP method call to return
122122
the raw response object instead of the parsed content.
123123
124124
For more information, see https://www.github.com/openai/openai-python#accessing-raw-response-data-eg-headers

0 commit comments

Comments
 (0)