Skip to content

Commit cc0942b

Browse files
晓明 王wangxm345566462
晓明 王
authored andcommitted
format code: E501
format code
1 parent 5a51448 commit cc0942b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/mcp/client/sse.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,8 @@ async def sse_reader(
9999
sse.data
100100
)
101101

102-
# Normalize ID to int if it's a numeric string.
103-
# Some non-standard SSE servers return numeric IDs as strings,
104-
# even if the original request used an integer ID.
102+
# Normalize ID to int
103+
# if it's a numeric string.
105104
if isinstance( # noqa: E501
106105
message.root,
107106
types.JSONRPCResponse

0 commit comments

Comments
 (0)