We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a09e958 commit 4e73552Copy full SHA for 4e73552
src/mcp/client/websocket.py
@@ -15,7 +15,9 @@
15
16
17
@asynccontextmanager
18
-async def websocket_client(url: str) -> AsyncGenerator[
+async def websocket_client(
19
+ url: str,
20
+) -> AsyncGenerator[
21
tuple[
22
MemoryObjectReceiveStream[types.JSONRPCMessage | Exception],
23
MemoryObjectSendStream[types.JSONRPCMessage],
@@ -59,7 +61,7 @@ async def ws_reader():
59
61
60
62
async def ws_writer():
63
"""
- Reads JSON-RPC messages from write_stream_reader and
64
+ Reads JSON-RPC messages from write_stream_reader and
65
sends them to the server.
66
67
async with write_stream_reader:
0 commit comments