Skip to content

Commit 77431eb

Browse files
authored
[v1.x] refactor: import SSEError from httpx_sse public API (#2561)
1 parent 2034cae commit 77431eb

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/mcp/client/sse.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@
88
import httpx
99
from anyio.abc import TaskStatus
1010
from anyio.streams.memory import MemoryObjectReceiveStream, MemoryObjectSendStream
11-
from httpx_sse import aconnect_sse
12-
from httpx_sse._exceptions import SSEError
11+
from httpx_sse import SSEError, aconnect_sse
1312

1413
import mcp.types as types
1514
from mcp.shared._httpx_utils import McpHttpClientFactory, create_mcp_http_client

0 commit comments

Comments
 (0)