Skip to content

Commit bb617a2

Browse files
committed
clean up
1 parent 92e31f6 commit bb617a2

File tree

10 files changed

+622
-21
lines changed

10 files changed

+622
-21
lines changed

jigsawstack/__init__.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,8 @@
1919
class JigsawStack:
2020
audio: Audio
2121
vision: Vision
22-
prediction: Prediction
23-
text_to_sql: SQL
2422
file: Store
25-
translate: Translate
2623
web: Web
27-
sentiment: Sentiment
28-
validate: Validate
29-
summary: Summary
3024
search: Search
3125
geo: Geo
3226
prompt_engine: PromptEngine
@@ -125,11 +119,6 @@ class AsyncJigsawStack:
125119
audio: AsyncAudio
126120
vision: AsyncVision
127121
store: AsyncStore
128-
summary: AsyncSummary
129-
sentiment: AsyncSentiment
130-
translate: AsyncTranslate
131-
sql: AsyncSQL
132-
prediction: AsyncPrediction
133122
prompt_engine: AsyncPromptEngine
134123
api_key: str
135124
api_url: str

jigsawstack/audio.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,12 @@
55
from ._config import ClientConfig
66
from typing import Any, Dict, List, cast
77
from typing_extensions import NotRequired, TypedDict
8+
from .custom_typing import SupportedAccents
89

910

1011
class TextToSpeechParams(TypedDict):
1112
text: str
12-
accent: NotRequired[str]
13+
accent: NotRequired[SupportedAccents]
1314
speaker_clone_url: NotRequired[str]
1415
speaker_clone_file_store_key: NotRequired[str]
1516

@@ -21,7 +22,7 @@ class TextToSpeechResponse(TypedDict):
2122

2223

2324
class SpeechToTextParams(TypedDict):
24-
url: str
25+
url: NotRequired[str]
2526
file_store_key: NotRequired[str]
2627
language: NotRequired[str]
2728
translate: NotRequired[bool]

0 commit comments

Comments
 (0)