Skip to content

Commit e4b2ab7

Browse files
committed
address task rabbit comments
1 parent e84be76 commit e4b2ab7

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

deepgram/clients/common/v1/abstract_sync_websocket.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,12 @@ class AbstractSyncWebSocketClient(ABC): # pylint: disable=too-many-instance-att
3838
3939
This class provides methods to establish a WebSocket connection generically for
4040
use in all WebSocket clients.
41+
42+
Args:
43+
config (DeepgramClientOptions): all the options for the client
44+
endpoint (str): the endpoint to connect to
45+
thread_cls (Type[threading.Thread]): optional thread class to use for creating threads,
46+
defaults to threading.Thread. Useful for custom thread management like ContextVar support.
4147
"""
4248

4349
_logger: verboselogs.VerboseLogger

deepgram/clients/listen/v1/websocket/client.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,12 @@ class ListenWebSocketClient(
3838
"""
3939
Client for interacting with Deepgram's live transcription services over WebSockets.
4040
41-
This class provides methods to establish a WebSocket connection for live transcription and handle real-time transcription events.
41+
This class provides methods to establish a WebSocket connection for live transcription and handle real-time transcription events.
4242
43-
Args:
44-
config (DeepgramClientOptions): all the options for the client.
43+
Args:
44+
config (DeepgramClientOptions): all the options for the client.
45+
thread_cls (Type[threading.Thread]): optional thread class to use for creating threads,
46+
defaults to threading.Thread. Useful for custom thread management like ContextVar support.
4547
"""
4648

4749
_logger: verboselogs.VerboseLogger

0 commit comments

Comments
 (0)