Cleanup examples and fix VoicesManager types (#332)

Signed-off-by: rany <rany2@riseup.net>
This commit is contained in:
Rany
2024-11-23 16:29:13 +02:00
committed by GitHub
parent 17e5146606
commit a3d468c7c9
11 changed files with 33 additions and 138 deletions

View File

@@ -82,3 +82,11 @@ class VoiceManagerVoice(Voice):
"""Voice data for VoiceManager."""
Language: str
class VoiceManagerFind(TypedDict):
"""Voice data for VoiceManager.find()."""
Gender: NotRequired[Literal["Female", "Male"]]
Locale: NotRequired[str]
Language: NotRequired[str]