Skip to content

Commit 110526d

Browse files
committed
clean up
1 parent c2be5af commit 110526d

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/mcp/client/streamableHttp.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212

1313
import anyio
1414
import httpx
15-
from anyio.streams.memory import MemoryObjectReceiveStream, MemoryObjectSendStream
1615
from httpx_sse import EventSource, aconnect_sse
1716

1817
from 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

0 commit comments

Comments
 (0)