File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 1- import anyio
21import json
32import os
43import socket
@@ -668,8 +667,8 @@ def stdio(
668667 get_mcp_command_payload ,
669668):
670669 async def inner (server , method : str , params , request_id : str ):
671- read_stream_writer , read_stream = anyio . create_memory_object_stream (0 )
672- write_stream , write_stream_reader = anyio . create_memory_object_stream (0 )
670+ read_stream_writer , read_stream = create_memory_object_stream (0 ) # type: ignore
671+ write_stream , write_stream_reader = create_memory_object_stream (0 ) # type: ignore
673672
674673 result = {}
675674
@@ -696,7 +695,7 @@ async def simulate_client(tg, result):
696695
697696 tg .cancel_scope .cancel ()
698697
699- async with anyio . create_task_group () as tg :
698+ async with create_task_group () as tg : # type: ignore
700699 tg .start_soon (run_server )
701700 tg .start_soon (simulate_client , tg , result )
702701
You can’t perform that action at this time.
0 commit comments