spitch 1.39.0__py3-none-any.whl → 1.40.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of spitch might be problematic. Click here for more details.
- spitch/_client.py +9 -1
- spitch/_version.py +1 -1
- spitch/resources/__init__.py +14 -0
- spitch/resources/jobs.py +271 -0
- spitch/types/__init__.py +3 -0
- spitch/types/job.py +19 -0
- spitch/types/job_list_params.py +16 -0
- spitch/types/jobs.py +14 -0
- {spitch-1.39.0.dist-info → spitch-1.40.0.dist-info}/METADATA +1 -1
- {spitch-1.39.0.dist-info → spitch-1.40.0.dist-info}/RECORD +12 -8
- {spitch-1.39.0.dist-info → spitch-1.40.0.dist-info}/WHEEL +0 -0
- {spitch-1.39.0.dist-info → spitch-1.40.0.dist-info}/licenses/LICENSE +0 -0
spitch/_client.py
CHANGED
|
@@ -21,7 +21,7 @@ from ._types import (
|
|
|
21
21
|
)
|
|
22
22
|
from ._utils import is_given, get_async_library
|
|
23
23
|
from ._version import __version__
|
|
24
|
-
from .resources import text, files, speech
|
|
24
|
+
from .resources import jobs, text, files, speech
|
|
25
25
|
from ._streaming import Stream as Stream, AsyncStream as AsyncStream
|
|
26
26
|
from ._exceptions import SpitchError, APIStatusError
|
|
27
27
|
from ._base_client import (
|
|
@@ -47,6 +47,7 @@ class Spitch(SyncAPIClient):
|
|
|
47
47
|
speech: speech.SpeechResource
|
|
48
48
|
text: text.TextResource
|
|
49
49
|
files: files.FilesResource
|
|
50
|
+
jobs: jobs.JobsResource
|
|
50
51
|
with_raw_response: SpitchWithRawResponse
|
|
51
52
|
with_streaming_response: SpitchWithStreamedResponse
|
|
52
53
|
|
|
@@ -107,6 +108,7 @@ class Spitch(SyncAPIClient):
|
|
|
107
108
|
self.speech = speech.SpeechResource(self)
|
|
108
109
|
self.text = text.TextResource(self)
|
|
109
110
|
self.files = files.FilesResource(self)
|
|
111
|
+
self.jobs = jobs.JobsResource(self)
|
|
110
112
|
self.with_raw_response = SpitchWithRawResponse(self)
|
|
111
113
|
self.with_streaming_response = SpitchWithStreamedResponse(self)
|
|
112
114
|
|
|
@@ -219,6 +221,7 @@ class AsyncSpitch(AsyncAPIClient):
|
|
|
219
221
|
speech: speech.AsyncSpeechResource
|
|
220
222
|
text: text.AsyncTextResource
|
|
221
223
|
files: files.AsyncFilesResource
|
|
224
|
+
jobs: jobs.AsyncJobsResource
|
|
222
225
|
with_raw_response: AsyncSpitchWithRawResponse
|
|
223
226
|
with_streaming_response: AsyncSpitchWithStreamedResponse
|
|
224
227
|
|
|
@@ -279,6 +282,7 @@ class AsyncSpitch(AsyncAPIClient):
|
|
|
279
282
|
self.speech = speech.AsyncSpeechResource(self)
|
|
280
283
|
self.text = text.AsyncTextResource(self)
|
|
281
284
|
self.files = files.AsyncFilesResource(self)
|
|
285
|
+
self.jobs = jobs.AsyncJobsResource(self)
|
|
282
286
|
self.with_raw_response = AsyncSpitchWithRawResponse(self)
|
|
283
287
|
self.with_streaming_response = AsyncSpitchWithStreamedResponse(self)
|
|
284
288
|
|
|
@@ -392,6 +396,7 @@ class SpitchWithRawResponse:
|
|
|
392
396
|
self.speech = speech.SpeechResourceWithRawResponse(client.speech)
|
|
393
397
|
self.text = text.TextResourceWithRawResponse(client.text)
|
|
394
398
|
self.files = files.FilesResourceWithRawResponse(client.files)
|
|
399
|
+
self.jobs = jobs.JobsResourceWithRawResponse(client.jobs)
|
|
395
400
|
|
|
396
401
|
|
|
397
402
|
class AsyncSpitchWithRawResponse:
|
|
@@ -399,6 +404,7 @@ class AsyncSpitchWithRawResponse:
|
|
|
399
404
|
self.speech = speech.AsyncSpeechResourceWithRawResponse(client.speech)
|
|
400
405
|
self.text = text.AsyncTextResourceWithRawResponse(client.text)
|
|
401
406
|
self.files = files.AsyncFilesResourceWithRawResponse(client.files)
|
|
407
|
+
self.jobs = jobs.AsyncJobsResourceWithRawResponse(client.jobs)
|
|
402
408
|
|
|
403
409
|
|
|
404
410
|
class SpitchWithStreamedResponse:
|
|
@@ -406,6 +412,7 @@ class SpitchWithStreamedResponse:
|
|
|
406
412
|
self.speech = speech.SpeechResourceWithStreamingResponse(client.speech)
|
|
407
413
|
self.text = text.TextResourceWithStreamingResponse(client.text)
|
|
408
414
|
self.files = files.FilesResourceWithStreamingResponse(client.files)
|
|
415
|
+
self.jobs = jobs.JobsResourceWithStreamingResponse(client.jobs)
|
|
409
416
|
|
|
410
417
|
|
|
411
418
|
class AsyncSpitchWithStreamedResponse:
|
|
@@ -413,6 +420,7 @@ class AsyncSpitchWithStreamedResponse:
|
|
|
413
420
|
self.speech = speech.AsyncSpeechResourceWithStreamingResponse(client.speech)
|
|
414
421
|
self.text = text.AsyncTextResourceWithStreamingResponse(client.text)
|
|
415
422
|
self.files = files.AsyncFilesResourceWithStreamingResponse(client.files)
|
|
423
|
+
self.jobs = jobs.AsyncJobsResourceWithStreamingResponse(client.jobs)
|
|
416
424
|
|
|
417
425
|
|
|
418
426
|
Client = Spitch
|
spitch/_version.py
CHANGED
spitch/resources/__init__.py
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
+
from .jobs import (
|
|
4
|
+
JobsResource,
|
|
5
|
+
AsyncJobsResource,
|
|
6
|
+
JobsResourceWithRawResponse,
|
|
7
|
+
AsyncJobsResourceWithRawResponse,
|
|
8
|
+
JobsResourceWithStreamingResponse,
|
|
9
|
+
AsyncJobsResourceWithStreamingResponse,
|
|
10
|
+
)
|
|
3
11
|
from .text import (
|
|
4
12
|
TextResource,
|
|
5
13
|
AsyncTextResource,
|
|
@@ -44,4 +52,10 @@ __all__ = [
|
|
|
44
52
|
"AsyncFilesResourceWithRawResponse",
|
|
45
53
|
"FilesResourceWithStreamingResponse",
|
|
46
54
|
"AsyncFilesResourceWithStreamingResponse",
|
|
55
|
+
"JobsResource",
|
|
56
|
+
"AsyncJobsResource",
|
|
57
|
+
"JobsResourceWithRawResponse",
|
|
58
|
+
"AsyncJobsResourceWithRawResponse",
|
|
59
|
+
"JobsResourceWithStreamingResponse",
|
|
60
|
+
"AsyncJobsResourceWithStreamingResponse",
|
|
47
61
|
]
|
spitch/resources/jobs.py
ADDED
|
@@ -0,0 +1,271 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing import Optional
|
|
6
|
+
from typing_extensions import Literal
|
|
7
|
+
|
|
8
|
+
import httpx
|
|
9
|
+
|
|
10
|
+
from ..types import job_list_params
|
|
11
|
+
from .._types import Body, Omit, Query, Headers, NotGiven, omit, not_given
|
|
12
|
+
from .._utils import maybe_transform
|
|
13
|
+
from .._compat import cached_property
|
|
14
|
+
from .._resource import SyncAPIResource, AsyncAPIResource
|
|
15
|
+
from .._response import (
|
|
16
|
+
to_raw_response_wrapper,
|
|
17
|
+
to_streamed_response_wrapper,
|
|
18
|
+
async_to_raw_response_wrapper,
|
|
19
|
+
async_to_streamed_response_wrapper,
|
|
20
|
+
)
|
|
21
|
+
from ..types.job import Job
|
|
22
|
+
from ..pagination import SyncFilesCursor, AsyncFilesCursor
|
|
23
|
+
from .._base_client import AsyncPaginator, make_request_options
|
|
24
|
+
|
|
25
|
+
__all__ = ["JobsResource", "AsyncJobsResource"]
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
class JobsResource(SyncAPIResource):
|
|
29
|
+
@cached_property
|
|
30
|
+
def with_raw_response(self) -> JobsResourceWithRawResponse:
|
|
31
|
+
"""
|
|
32
|
+
This property can be used as a prefix for any HTTP method call to return
|
|
33
|
+
the raw response object instead of the parsed content.
|
|
34
|
+
|
|
35
|
+
For more information, see https://www.github.com/spi-tch/spitch-python#accessing-raw-response-data-eg-headers
|
|
36
|
+
"""
|
|
37
|
+
return JobsResourceWithRawResponse(self)
|
|
38
|
+
|
|
39
|
+
@cached_property
|
|
40
|
+
def with_streaming_response(self) -> JobsResourceWithStreamingResponse:
|
|
41
|
+
"""
|
|
42
|
+
An alternative to `.with_raw_response` that doesn't eagerly read the response body.
|
|
43
|
+
|
|
44
|
+
For more information, see https://www.github.com/spi-tch/spitch-python#with_streaming_response
|
|
45
|
+
"""
|
|
46
|
+
return JobsResourceWithStreamingResponse(self)
|
|
47
|
+
|
|
48
|
+
def list(
|
|
49
|
+
self,
|
|
50
|
+
*,
|
|
51
|
+
cursor: Optional[str] | Omit = omit,
|
|
52
|
+
limit: int | Omit = omit,
|
|
53
|
+
status: Optional[Literal["queued", "in_progress", "finished"]] | Omit = omit,
|
|
54
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
55
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
56
|
+
extra_headers: Headers | None = None,
|
|
57
|
+
extra_query: Query | None = None,
|
|
58
|
+
extra_body: Body | None = None,
|
|
59
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
60
|
+
) -> SyncFilesCursor[Job]:
|
|
61
|
+
"""
|
|
62
|
+
Get Jobs
|
|
63
|
+
|
|
64
|
+
Args:
|
|
65
|
+
extra_headers: Send extra headers
|
|
66
|
+
|
|
67
|
+
extra_query: Add additional query parameters to the request
|
|
68
|
+
|
|
69
|
+
extra_body: Add additional JSON properties to the request
|
|
70
|
+
|
|
71
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
72
|
+
"""
|
|
73
|
+
return self._get_api_list(
|
|
74
|
+
"/v1/jobs",
|
|
75
|
+
page=SyncFilesCursor[Job],
|
|
76
|
+
options=make_request_options(
|
|
77
|
+
extra_headers=extra_headers,
|
|
78
|
+
extra_query=extra_query,
|
|
79
|
+
extra_body=extra_body,
|
|
80
|
+
timeout=timeout,
|
|
81
|
+
query=maybe_transform(
|
|
82
|
+
{
|
|
83
|
+
"cursor": cursor,
|
|
84
|
+
"limit": limit,
|
|
85
|
+
"status": status,
|
|
86
|
+
},
|
|
87
|
+
job_list_params.JobListParams,
|
|
88
|
+
),
|
|
89
|
+
),
|
|
90
|
+
model=Job,
|
|
91
|
+
)
|
|
92
|
+
|
|
93
|
+
def get(
|
|
94
|
+
self,
|
|
95
|
+
job_id: str,
|
|
96
|
+
*,
|
|
97
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
98
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
99
|
+
extra_headers: Headers | None = None,
|
|
100
|
+
extra_query: Query | None = None,
|
|
101
|
+
extra_body: Body | None = None,
|
|
102
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
103
|
+
) -> Job:
|
|
104
|
+
"""
|
|
105
|
+
Get Job
|
|
106
|
+
|
|
107
|
+
Args:
|
|
108
|
+
extra_headers: Send extra headers
|
|
109
|
+
|
|
110
|
+
extra_query: Add additional query parameters to the request
|
|
111
|
+
|
|
112
|
+
extra_body: Add additional JSON properties to the request
|
|
113
|
+
|
|
114
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
115
|
+
"""
|
|
116
|
+
if not job_id:
|
|
117
|
+
raise ValueError(f"Expected a non-empty value for `job_id` but received {job_id!r}")
|
|
118
|
+
return self._get(
|
|
119
|
+
f"/v1/jobs/{job_id}",
|
|
120
|
+
options=make_request_options(
|
|
121
|
+
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
122
|
+
),
|
|
123
|
+
cast_to=Job,
|
|
124
|
+
)
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
class AsyncJobsResource(AsyncAPIResource):
|
|
128
|
+
@cached_property
|
|
129
|
+
def with_raw_response(self) -> AsyncJobsResourceWithRawResponse:
|
|
130
|
+
"""
|
|
131
|
+
This property can be used as a prefix for any HTTP method call to return
|
|
132
|
+
the raw response object instead of the parsed content.
|
|
133
|
+
|
|
134
|
+
For more information, see https://www.github.com/spi-tch/spitch-python#accessing-raw-response-data-eg-headers
|
|
135
|
+
"""
|
|
136
|
+
return AsyncJobsResourceWithRawResponse(self)
|
|
137
|
+
|
|
138
|
+
@cached_property
|
|
139
|
+
def with_streaming_response(self) -> AsyncJobsResourceWithStreamingResponse:
|
|
140
|
+
"""
|
|
141
|
+
An alternative to `.with_raw_response` that doesn't eagerly read the response body.
|
|
142
|
+
|
|
143
|
+
For more information, see https://www.github.com/spi-tch/spitch-python#with_streaming_response
|
|
144
|
+
"""
|
|
145
|
+
return AsyncJobsResourceWithStreamingResponse(self)
|
|
146
|
+
|
|
147
|
+
def list(
|
|
148
|
+
self,
|
|
149
|
+
*,
|
|
150
|
+
cursor: Optional[str] | Omit = omit,
|
|
151
|
+
limit: int | Omit = omit,
|
|
152
|
+
status: Optional[Literal["queued", "in_progress", "finished"]] | Omit = omit,
|
|
153
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
154
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
155
|
+
extra_headers: Headers | None = None,
|
|
156
|
+
extra_query: Query | None = None,
|
|
157
|
+
extra_body: Body | None = None,
|
|
158
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
159
|
+
) -> AsyncPaginator[Job, AsyncFilesCursor[Job]]:
|
|
160
|
+
"""
|
|
161
|
+
Get Jobs
|
|
162
|
+
|
|
163
|
+
Args:
|
|
164
|
+
extra_headers: Send extra headers
|
|
165
|
+
|
|
166
|
+
extra_query: Add additional query parameters to the request
|
|
167
|
+
|
|
168
|
+
extra_body: Add additional JSON properties to the request
|
|
169
|
+
|
|
170
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
171
|
+
"""
|
|
172
|
+
return self._get_api_list(
|
|
173
|
+
"/v1/jobs",
|
|
174
|
+
page=AsyncFilesCursor[Job],
|
|
175
|
+
options=make_request_options(
|
|
176
|
+
extra_headers=extra_headers,
|
|
177
|
+
extra_query=extra_query,
|
|
178
|
+
extra_body=extra_body,
|
|
179
|
+
timeout=timeout,
|
|
180
|
+
query=maybe_transform(
|
|
181
|
+
{
|
|
182
|
+
"cursor": cursor,
|
|
183
|
+
"limit": limit,
|
|
184
|
+
"status": status,
|
|
185
|
+
},
|
|
186
|
+
job_list_params.JobListParams,
|
|
187
|
+
),
|
|
188
|
+
),
|
|
189
|
+
model=Job,
|
|
190
|
+
)
|
|
191
|
+
|
|
192
|
+
async def get(
|
|
193
|
+
self,
|
|
194
|
+
job_id: str,
|
|
195
|
+
*,
|
|
196
|
+
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
197
|
+
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
198
|
+
extra_headers: Headers | None = None,
|
|
199
|
+
extra_query: Query | None = None,
|
|
200
|
+
extra_body: Body | None = None,
|
|
201
|
+
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
202
|
+
) -> Job:
|
|
203
|
+
"""
|
|
204
|
+
Get Job
|
|
205
|
+
|
|
206
|
+
Args:
|
|
207
|
+
extra_headers: Send extra headers
|
|
208
|
+
|
|
209
|
+
extra_query: Add additional query parameters to the request
|
|
210
|
+
|
|
211
|
+
extra_body: Add additional JSON properties to the request
|
|
212
|
+
|
|
213
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
|
214
|
+
"""
|
|
215
|
+
if not job_id:
|
|
216
|
+
raise ValueError(f"Expected a non-empty value for `job_id` but received {job_id!r}")
|
|
217
|
+
return await self._get(
|
|
218
|
+
f"/v1/jobs/{job_id}",
|
|
219
|
+
options=make_request_options(
|
|
220
|
+
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
221
|
+
),
|
|
222
|
+
cast_to=Job,
|
|
223
|
+
)
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
class JobsResourceWithRawResponse:
|
|
227
|
+
def __init__(self, jobs: JobsResource) -> None:
|
|
228
|
+
self._jobs = jobs
|
|
229
|
+
|
|
230
|
+
self.list = to_raw_response_wrapper(
|
|
231
|
+
jobs.list,
|
|
232
|
+
)
|
|
233
|
+
self.get = to_raw_response_wrapper(
|
|
234
|
+
jobs.get,
|
|
235
|
+
)
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
class AsyncJobsResourceWithRawResponse:
|
|
239
|
+
def __init__(self, jobs: AsyncJobsResource) -> None:
|
|
240
|
+
self._jobs = jobs
|
|
241
|
+
|
|
242
|
+
self.list = async_to_raw_response_wrapper(
|
|
243
|
+
jobs.list,
|
|
244
|
+
)
|
|
245
|
+
self.get = async_to_raw_response_wrapper(
|
|
246
|
+
jobs.get,
|
|
247
|
+
)
|
|
248
|
+
|
|
249
|
+
|
|
250
|
+
class JobsResourceWithStreamingResponse:
|
|
251
|
+
def __init__(self, jobs: JobsResource) -> None:
|
|
252
|
+
self._jobs = jobs
|
|
253
|
+
|
|
254
|
+
self.list = to_streamed_response_wrapper(
|
|
255
|
+
jobs.list,
|
|
256
|
+
)
|
|
257
|
+
self.get = to_streamed_response_wrapper(
|
|
258
|
+
jobs.get,
|
|
259
|
+
)
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
class AsyncJobsResourceWithStreamingResponse:
|
|
263
|
+
def __init__(self, jobs: AsyncJobsResource) -> None:
|
|
264
|
+
self._jobs = jobs
|
|
265
|
+
|
|
266
|
+
self.list = async_to_streamed_response_wrapper(
|
|
267
|
+
jobs.list,
|
|
268
|
+
)
|
|
269
|
+
self.get = async_to_streamed_response_wrapper(
|
|
270
|
+
jobs.get,
|
|
271
|
+
)
|
spitch/types/__init__.py
CHANGED
|
@@ -2,12 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
|
|
5
|
+
from .job import Job as Job
|
|
5
6
|
from .file import File as File
|
|
7
|
+
from .jobs import Jobs as Jobs
|
|
6
8
|
from .files import Files as Files
|
|
7
9
|
from .diacritics import Diacritics as Diacritics
|
|
8
10
|
from .file_usage import FileUsage as FileUsage
|
|
9
11
|
from .translation import Translation as Translation
|
|
10
12
|
from .transcription import Transcription as Transcription
|
|
13
|
+
from .job_list_params import JobListParams as JobListParams
|
|
11
14
|
from .file_list_params import FileListParams as FileListParams
|
|
12
15
|
from .file_upload_params import FileUploadParams as FileUploadParams
|
|
13
16
|
from .file_download_params import FileDownloadParams as FileDownloadParams
|
spitch/types/job.py
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from datetime import datetime
|
|
4
|
+
|
|
5
|
+
from .._models import BaseModel
|
|
6
|
+
|
|
7
|
+
__all__ = ["Job"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class Job(BaseModel):
|
|
11
|
+
created_by: str
|
|
12
|
+
|
|
13
|
+
due_date: datetime
|
|
14
|
+
|
|
15
|
+
job_id: str
|
|
16
|
+
|
|
17
|
+
org_id: str
|
|
18
|
+
|
|
19
|
+
status: str
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing import Optional
|
|
6
|
+
from typing_extensions import Literal, TypedDict
|
|
7
|
+
|
|
8
|
+
__all__ = ["JobListParams"]
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class JobListParams(TypedDict, total=False):
|
|
12
|
+
cursor: Optional[str]
|
|
13
|
+
|
|
14
|
+
limit: int
|
|
15
|
+
|
|
16
|
+
status: Optional[Literal["queued", "in_progress", "finished"]]
|
spitch/types/jobs.py
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from typing import List, Optional
|
|
4
|
+
|
|
5
|
+
from .job import Job
|
|
6
|
+
from .._models import BaseModel
|
|
7
|
+
|
|
8
|
+
__all__ = ["Jobs"]
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class Jobs(BaseModel):
|
|
12
|
+
items: List[Job]
|
|
13
|
+
|
|
14
|
+
next_cursor: Optional[str] = None
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
spitch/__init__.py,sha256=JS1xuX1VDVdq2-EkwlKH3h19hltmtZQZDCMig55YgDw,2606
|
|
2
2
|
spitch/_base_client.py,sha256=zj7tZVDyWwN3QLO30HljeRZzptVtxvJ01-vPTzDlPVQ,67176
|
|
3
|
-
spitch/_client.py,sha256=
|
|
3
|
+
spitch/_client.py,sha256=MMD6qfP6gsgF2gh1c-KQS7TTjl1luwOv1HltJ_V7uNo,16316
|
|
4
4
|
spitch/_compat.py,sha256=LPDXpBxBq8haInbzeO9ldLv_0wZotEcrEtXCAJaZjLg,6589
|
|
5
5
|
spitch/_constants.py,sha256=S14PFzyN9-I31wiV7SmIlL5Ga0MLHxdvegInGdXH7tM,462
|
|
6
6
|
spitch/_exceptions.py,sha256=xsQtKJTiIdz2X1bQDQFZcSW7WBofLazdQm9nMCyPEVM,3220
|
|
@@ -11,7 +11,7 @@ spitch/_resource.py,sha256=TLFPcOOmtxZOQLh3XCNPB_BdrQpp0MIYoKoH52aRAu8,1100
|
|
|
11
11
|
spitch/_response.py,sha256=-1LLK1wjPW3Hcro9NXjf_SnPRArU1ozdctNIStvxbWo,28690
|
|
12
12
|
spitch/_streaming.py,sha256=5SpId2EIfF8Ee8UUYmJxqgHUGP1ZdHCUHhHCdNJREFA,10100
|
|
13
13
|
spitch/_types.py,sha256=oa5CdZaglGw0wrxxpdWxeoliiTfNpce300esw52GnGk,7260
|
|
14
|
-
spitch/_version.py,sha256=
|
|
14
|
+
spitch/_version.py,sha256=MWEFFlAcGSwlaZGOIM5v8nSehK3D3rRTZNkPjg8oXtU,159
|
|
15
15
|
spitch/pagination.py,sha256=XQaAXcd1OtYzc7zqwCJLQVqFMkC0W-1-0njeSyxT88A,1312
|
|
16
16
|
spitch/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
17
17
|
spitch/_utils/__init__.py,sha256=WhaZJLzT8oCtvdIvbs8gyd6emLYa4usodcqgcpFiciU,2259
|
|
@@ -27,11 +27,12 @@ spitch/_utils/_transform.py,sha256=NjCzmnfqYrsAikUHQig6N9QfuTVbKipuP3ur9mcNF-E,1
|
|
|
27
27
|
spitch/_utils/_typing.py,sha256=AmI-ZWKfmGpa8sE_wXUPqJm-aqfO8JapbGAk7bX-Sy0,4156
|
|
28
28
|
spitch/_utils/_utils.py,sha256=0dDqauUbVZEXV0NVl7Bwu904Wwo5eyFCZpQThhFNhyA,12253
|
|
29
29
|
spitch/lib/.keep,sha256=wuNrz-5SXo3jJaJOJgz4vFHM41YH_g20F5cRQo0vLes,224
|
|
30
|
-
spitch/resources/__init__.py,sha256=
|
|
30
|
+
spitch/resources/__init__.py,sha256=H63Q9LVhkR_MkiF0XBQWq1c8f-3aApLOp1gTTXWT8vE,1837
|
|
31
31
|
spitch/resources/files.py,sha256=Tac8zPK6unJEzeB57ZlBuPVC1EasIiImNrs-qERZCkg,25938
|
|
32
|
+
spitch/resources/jobs.py,sha256=fHANB7cLyrwZOVNwYx5OxSDm_likpEV0Xz4xo4CB5YQ,9397
|
|
32
33
|
spitch/resources/speech.py,sha256=8hPIV_Xw-bFMn0Oo96bx6OorRKvy4xi_e3VZkKsBCEg,13526
|
|
33
34
|
spitch/resources/text.py,sha256=O6jJCtoM5ajVOn1s6q48Pz3OvZhL6HwYJg0ukpkHDJw,10199
|
|
34
|
-
spitch/types/__init__.py,sha256=
|
|
35
|
+
spitch/types/__init__.py,sha256=pRKBE0ZW-nyiTRGVLDN8Sbzwd1LkwYZ6w-SVzOjaDj0,1123
|
|
35
36
|
spitch/types/diacritics.py,sha256=btOCAZTQ5qLjN78nCb7kyfJeBeBKW4nXlA9T8hsVquE,211
|
|
36
37
|
spitch/types/file.py,sha256=JqaBmIenjSwk4Z3-Idyg7CQF4Xvu5m7m4JsqeiSJUsY,541
|
|
37
38
|
spitch/types/file_download_params.py,sha256=tCiwTeSSbPuniZXdiOQll7Bdc2enBp9yJD-D9SpeEqg,262
|
|
@@ -40,13 +41,16 @@ spitch/types/file_list_params.py,sha256=FrWZhMUC38sGkBtdQKateTyStVuMOz90x5AHtkoZ
|
|
|
40
41
|
spitch/types/file_upload_params.py,sha256=5LSsvz7ptuELm5MosWotXpgsBf-Tz_ox1ys9HLx-Sts,317
|
|
41
42
|
spitch/types/file_usage.py,sha256=dXrqkDjvq-VECYaMVUL1wL3xS4Nkej7y7AVm5_DU4IE,267
|
|
42
43
|
spitch/types/files.py,sha256=FkNfexYBP3Ug4klnbGbGQTtXj6DC9y4Akbhd78ijb-c,285
|
|
44
|
+
spitch/types/job.py,sha256=_IbtZ9qczkRVJvDfhpcGisb2SOefaK6DoOj_YI5X4pI,288
|
|
45
|
+
spitch/types/job_list_params.py,sha256=rBkbmTOD436opWPb-4MKg9NE7vbQXDpeBN3BKc8GHss,386
|
|
46
|
+
spitch/types/jobs.py,sha256=EG6fIEO1ePtJZKpgV_vNWbTtrHID7z0MhRl7AZsYpSI,280
|
|
43
47
|
spitch/types/speech_generate_params.py,sha256=9kjye1XOMJPNZginEDMTS6Gt05bkB1s1r5H7oEj1Chk,1037
|
|
44
48
|
spitch/types/speech_transcribe_params.py,sha256=fAVwTfPRR4aLzcu4Y8qrmKXESemnWJIdnyhyVcR3W20,613
|
|
45
49
|
spitch/types/text_tone_mark_params.py,sha256=MEnWzcSjPT_Z_8Mio96LgwYbx2BngG5By-MoeSt0Sms,355
|
|
46
50
|
spitch/types/text_translate_params.py,sha256=3rHSFo3ITqvUEGkm2iL-cy1HDZnYeojqHdgc3W2oWfc,542
|
|
47
51
|
spitch/types/transcription.py,sha256=SrbWIwItrt-FdPUPV8PofYTxzLCiwxg7Ya4QsKE1PoY,393
|
|
48
52
|
spitch/types/translation.py,sha256=GbqjtTZTuULha75cMEUVizfz8ZenvdFHQ2jr7_1wxNY,313
|
|
49
|
-
spitch-1.
|
|
50
|
-
spitch-1.
|
|
51
|
-
spitch-1.
|
|
52
|
-
spitch-1.
|
|
53
|
+
spitch-1.40.0.dist-info/METADATA,sha256=GUPZdT9Q7K2v2Fgt22FY3AaqvkFp5QTsIbB6t3Vm6TM,15962
|
|
54
|
+
spitch-1.40.0.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
|
|
55
|
+
spitch-1.40.0.dist-info/licenses/LICENSE,sha256=C0lDWY-no8IxmnqzQA9BA7Z8jeh_bogVPfeWSgeDDcc,11336
|
|
56
|
+
spitch-1.40.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|