MCPcopy Create free account
hub / github.com/HumeAI/hume-api-examples / __init__

Method __init__

evi/evi-python-function-calling/main.py:18–21  ·  view source on GitHub ↗

Construct the WebSocketHandler, initially assigning the socket to None and the byte stream to a new Stream object.

(self)

Source from the content-addressed store, hash-verified

16 """Handler for containing the EVI WebSocket and associated socket handling behavior."""
17
18 def __init__(self):
19 """Construct the WebSocketHandler, initially assigning the socket to None and the byte stream to a new Stream object."""
20 self.socket = None
21 self.byte_strs = Stream.new()
22
23 def set_socket(self, socket: AsyncChatSocketClient):
24 """Set the socket.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected