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 fddc22d commit 7f7c29cCopy full SHA for 7f7c29c
src/mcp/client/websocket.py
@@ -50,7 +50,9 @@ async def websocket_client(
50
write_stream, write_stream_reader = anyio.create_memory_object_stream(0)
51
52
# Connect using websockets, requesting the "mcp" subprotocol
53
- async with ws_connect(url, subprotocols=[Subprotocol("mcp")], additional_headers=headers) as ws:
+ async with ws_connect(
54
+ url, subprotocols=[Subprotocol("mcp")], additional_headers=headers
55
+ ) as ws:
56
57
async def ws_reader():
58
"""
0 commit comments