File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed
Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change 1212
1313import anyio
1414import httpx
15- from anyio .streams .memory import MemoryObjectReceiveStream , MemoryObjectSendStream
1615from httpx_sse import EventSource , aconnect_sse
1716
1817from mcp .types import JSONRPCMessage , JSONRPCNotification , JSONRPCRequest
@@ -41,11 +40,6 @@ async def streamablehttp_client(
4140 `sse_read_timeout` determines how long (in seconds) the client will wait for a new
4241 event before disconnecting. All other HTTP operations are controlled by `timeout`.
4342 """
44- read_stream : MemoryObjectReceiveStream [JSONRPCMessage | Exception ]
45- read_stream_writer : MemoryObjectSendStream [JSONRPCMessage | Exception ]
46-
47- write_stream : MemoryObjectSendStream [JSONRPCMessage ]
48- write_stream_reader : MemoryObjectReceiveStream [JSONRPCMessage ]
4943
5044 read_stream_writer , read_stream = anyio .create_memory_object_stream [
5145 JSONRPCMessage | Exception
You can’t perform that action at this time.
0 commit comments