We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2fcc61f commit 60d2bacCopy full SHA for 60d2bac
src/mcp/shared/session.py
@@ -289,12 +289,6 @@ async def _send_response(
289
)
290
await self._write_stream.send(JSONRPCMessage(jsonrpc_response))
291
292
- def _is_cancellation_notification(self, message_root: JSONRPCNotification) -> bool:
293
- """
294
- Determines if a notification is a cancellation notification.
295
296
- return getattr(message_root, "method", None) == "notifications/cancelled"
297
-
298
async def _receive_loop(self) -> None:
299
async with (
300
self._read_stream,
0 commit comments