Skip to content

Commit 473a678

Browse files
maxisbeyKludex
andauthored
Update src/mcp/client/sse.py
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
1 parent 3cc16ef commit 473a678

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/mcp/client/sse.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,7 @@ async def sse_client(
6161
async with httpx_client_factory(
6262
headers=headers, auth=auth, timeout=httpx.Timeout(timeout, read=sse_read_timeout)
6363
) as client:
64-
async with aconnect_sse(
65-
client,
66-
"GET",
67-
url,
68-
) as event_source:
64+
async with aconnect_sse(client, "GET", url) as event_source:
6965
event_source.response.raise_for_status()
7066
logger.debug("SSE connection established")
7167

0 commit comments

Comments
 (0)