Skip to content

Commit 2f23ceb

Browse files
committed
update types.py for tasks
1 parent 02b7889 commit 2f23ceb

File tree

2 files changed

+313
-4
lines changed

2 files changed

+313
-4
lines changed

src/mcp/client/session.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -543,6 +543,8 @@ async def _received_request(self, responder: RequestResponder[types.ServerReques
543543
case types.PingRequest(): # pragma: no cover
544544
with responder:
545545
return await responder.respond(types.ClientResult(root=types.EmptyResult()))
546+
case _:
547+
raise NotImplementedError()
546548

547549
async def _handle_incoming(
548550
self,

0 commit comments

Comments
 (0)