Skip to content

Commit 161834d

Browse files
authored
refactor: import SSEError from httpx_sse public API (#2560)
1 parent bf3e001 commit 161834d

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
@@ -7,8 +7,7 @@
77
import anyio
88
import httpx
99
from anyio.abc import TaskStatus
10-
from httpx_sse import aconnect_sse
11-
from httpx_sse._exceptions import SSEError
10+
from httpx_sse import SSEError, aconnect_sse
1211

1312
from mcp import types
1413
from mcp.shared._context_streams import create_context_streams

0 commit comments

Comments
 (0)