Skip to content

Commit

Permalink
address task rabbit comments
Browse files Browse the repository at this point in the history
  • Loading branch information
gerrymeixiong committed Dec 24, 2024
1 parent e84be76 commit e4b2ab7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
6 changes: 6 additions & 0 deletions deepgram/clients/common/v1/abstract_sync_websocket.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@ class AbstractSyncWebSocketClient(ABC): # pylint: disable=too-many-instance-att
This class provides methods to establish a WebSocket connection generically for
use in all WebSocket clients.
Args:
config (DeepgramClientOptions): all the options for the client
endpoint (str): the endpoint to connect to
thread_cls (Type[threading.Thread]): optional thread class to use for creating threads,
defaults to threading.Thread. Useful for custom thread management like ContextVar support.
"""

_logger: verboselogs.VerboseLogger
Expand Down
8 changes: 5 additions & 3 deletions deepgram/clients/listen/v1/websocket/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,12 @@ class ListenWebSocketClient(
"""
Client for interacting with Deepgram's live transcription services over WebSockets.
This class provides methods to establish a WebSocket connection for live transcription and handle real-time transcription events.
This class provides methods to establish a WebSocket connection for live transcription and handle real-time transcription events.
Args:
config (DeepgramClientOptions): all the options for the client.
Args:
config (DeepgramClientOptions): all the options for the client.
thread_cls (Type[threading.Thread]): optional thread class to use for creating threads,
defaults to threading.Thread. Useful for custom thread management like ContextVar support.
"""

_logger: verboselogs.VerboseLogger
Expand Down

0 comments on commit e4b2ab7

Please sign in to comment.