spitch 1.0.0__py3-none-any.whl → 1.1.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/_version.py CHANGED
@@ -1,4 +1,4 @@
1
1
  # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
3
  __title__ = "spitch"
4
- __version__ = "1.0.0" # x-release-please-version
4
+ __version__ = "1.1.0" # x-release-please-version
@@ -16,10 +16,14 @@ from .._utils import (
16
16
  from .._compat import cached_property
17
17
  from .._resource import SyncAPIResource, AsyncAPIResource
18
18
  from .._response import (
19
+ StreamedBinaryAPIResponse,
20
+ AsyncStreamedBinaryAPIResponse,
19
21
  to_raw_response_wrapper,
20
22
  to_streamed_response_wrapper,
21
23
  async_to_raw_response_wrapper,
22
24
  async_to_streamed_response_wrapper,
25
+ to_custom_streamed_response_wrapper,
26
+ async_to_custom_streamed_response_wrapper,
23
27
  )
24
28
  from .._base_client import make_request_options
25
29
 
@@ -270,8 +274,9 @@ class SpeechResourceWithStreamingResponse:
270
274
  def __init__(self, speech: SpeechResource) -> None:
271
275
  self._speech = speech
272
276
 
273
- self.generate = to_streamed_response_wrapper(
277
+ self.generate = to_custom_streamed_response_wrapper(
274
278
  speech.generate,
279
+ StreamedBinaryAPIResponse
275
280
  )
276
281
  self.transcibe = to_streamed_response_wrapper(
277
282
  speech.transcibe,
@@ -282,8 +287,9 @@ class AsyncSpeechResourceWithStreamingResponse:
282
287
  def __init__(self, speech: AsyncSpeechResource) -> None:
283
288
  self._speech = speech
284
289
 
285
- self.generate = async_to_streamed_response_wrapper(
290
+ self.generate = async_to_custom_streamed_response_wrapper(
286
291
  speech.generate,
292
+ AsyncStreamedBinaryAPIResponse
287
293
  )
288
294
  self.transcibe = async_to_streamed_response_wrapper(
289
295
  speech.transcibe,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: spitch
3
- Version: 1.0.0
3
+ Version: 1.1.0
4
4
  Summary: The official Python library for the spitch API
5
5
  Project-URL: Homepage, https://github.com/spi-tch/spitch-python
6
6
  Project-URL: Repository, https://github.com/spi-tch/spitch-python
@@ -11,7 +11,7 @@ spitch/_resource.py,sha256=TLFPcOOmtxZOQLh3XCNPB_BdrQpp0MIYoKoH52aRAu8,1100
11
11
  spitch/_response.py,sha256=aN6swtguiZ7CC_hWFrwoUa53FgSbjRfZXxYHvfDNGeo,28609
12
12
  spitch/_streaming.py,sha256=5SpId2EIfF8Ee8UUYmJxqgHUGP1ZdHCUHhHCdNJREFA,10100
13
13
  spitch/_types.py,sha256=dsJyGWdBXaYJaRBqn2V3iRsfpWw71rFaSxdSM8sPQYY,6103
14
- spitch/_version.py,sha256=AygsuXn5LCrA7nuoSGQjAcykgCeHRzzfyb0jcCjDHKM,158
14
+ spitch/_version.py,sha256=NU_CcMu0lRQBxUT9ZLioDy65oQTpve4TV169gdqzO3I,158
15
15
  spitch/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
16
16
  spitch/_utils/__init__.py,sha256=Uzq1-FIih_VUjzdNVWXks0sdC39KBKLMrZoz-_JOjJ4,1988
17
17
  spitch/_utils/_logs.py,sha256=ApRyYK_WgZfEr_ygBUBXWMlTgeMr2tdNOGlH8jE4oJc,774
@@ -24,13 +24,13 @@ spitch/_utils/_typing.py,sha256=tFbktdpdHCQliwzGsWysgn0P5H0JRdagkZdb_LegGkY,3838
24
24
  spitch/_utils/_utils.py,sha256=tYrr7IX-5NMwsVKbNggbzOM84uNw7XnAe06e2Ln8Or0,11472
25
25
  spitch/lib/.keep,sha256=wuNrz-5SXo3jJaJOJgz4vFHM41YH_g20F5cRQo0vLes,224
26
26
  spitch/resources/__init__.py,sha256=KT6rAvIlWHQk9QdM4Jp8ABziKILaBrrtiO7LCB5Wa5E,976
27
- spitch/resources/speech.py,sha256=kjlHNZyfr273acLQhWlSwL-pvxEcGuI6t4SZ8G-cEcs,10292
27
+ spitch/resources/speech.py,sha256=nKHWl6_6QDZlQ43VB6ayey6W5Pwp4tHCi48xlg1dOqE,10542
28
28
  spitch/resources/text.py,sha256=xy7N1q5ioXVMtmcW6iOE8j8n9j4lvnpvO4jJ9FMZmsU,6071
29
29
  spitch/types/__init__.py,sha256=4aa9CgcCmGRqZb4k9F3005Q4Ok-zjiiqw5k3BXIQ3MY,364
30
30
  spitch/types/speech_generate_params.py,sha256=kNVcFxcIcImiLa8r4OEbzeIOqZNtkbSUek99t2ljhaI,425
31
31
  spitch/types/speech_transcibe_params.py,sha256=WvwBsSctqJDXOFJNYyjfijwCnAdJCPkJobESfmLy3aI,448
32
32
  spitch/types/text_tone_mark_params.py,sha256=63P5VElxanYkDP1ZLEuQt97JSgVpMCaAo4WRWLDvhlY,349
33
- spitch-1.0.0.dist-info/METADATA,sha256=txasUwXuJxi0K49QwuwauukORQJK2ZauKauqxHqGJpc,12392
34
- spitch-1.0.0.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
35
- spitch-1.0.0.dist-info/licenses/LICENSE,sha256=529F8Amq5MfoIm33JY544oweKES9vw9_xS1CNx-ztPI,11336
36
- spitch-1.0.0.dist-info/RECORD,,
33
+ spitch-1.1.0.dist-info/METADATA,sha256=LEHPZto27aXNoeQz_hFjDwkKgoV9DwIFxPw-B1ud-nM,12392
34
+ spitch-1.1.0.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
35
+ spitch-1.1.0.dist-info/licenses/LICENSE,sha256=529F8Amq5MfoIm33JY544oweKES9vw9_xS1CNx-ztPI,11336
36
+ spitch-1.1.0.dist-info/RECORD,,
File without changes