Skip to content

Commit 861b563

Browse files
committed
Document that JSONRPCNotification are skipped
1 parent 4732489 commit 861b563

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

nexusmcp/workflow_transport.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ async def message_router() -> None:
5151
async for session_message in transport_read:
5252
request = session_message.message.root
5353
if not isinstance(request, types.JSONRPCRequest):
54+
# Ignore e.g. types.JSONRPCNotification
5455
continue
5556
result: types.Result | types.ErrorData
5657
try:

0 commit comments

Comments
 (0)