add docstring to VoicesManager's create()

This commit is contained in:
rany2 2023-01-05 00:09:56 +02:00
parent 8c356a000c
commit fe8b86c7f5

View File

@ -48,6 +48,9 @@ class VoicesManager:
@classmethod
async def create(cls):
"""
Creates a VoicesManager object and populates it with all available voices.
"""
self = VoicesManager()
self.voices = await list_voices()
self.voices = [