Skip to content

Commit 9f6f0b1

Browse files
pyright
1 parent 8fc8d3f commit 9f6f0b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/client/test_notification_response.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ async def message_handler(
132132
if isinstance(message, Exception):
133133
returned_exception = message
134134

135-
async with streamablehttp_client(server_url) as (read_stream, write_stream, get_session_id):
135+
async with streamablehttp_client(server_url) as (read_stream, write_stream, _):
136136
async with ClientSession(
137137
read_stream,
138138
write_stream,
@@ -143,7 +143,7 @@ async def message_handler(
143143

144144
# The test server returns a 204 instead of the expected 202
145145
await session.send_notification(
146-
ClientNotification(RootsListChangedNotification(method="notifications/roots/list_changed", params={}))
146+
ClientNotification(RootsListChangedNotification(method="notifications/roots/list_changed"))
147147
)
148148

149149
if returned_exception:

0 commit comments

Comments
 (0)