Skip to content

Commit 149d390

Browse files
committed
update types.py for tasks
1 parent 5489e8b commit 149d390

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
@@ -537,6 +537,8 @@ async def _received_request(self, responder: RequestResponder[types.ServerReques
537537
case types.PingRequest(): # pragma: no cover
538538
with responder:
539539
return await responder.respond(types.ClientResult(root=types.EmptyResult()))
540+
case _:
541+
raise NotImplementedError()
540542

541543
async def _handle_incoming(
542544
self,

0 commit comments

Comments
 (0)