MCPcopy Index your code
hub / github.com/modelcontextprotocol/python-sdk / drive

Function drive

tests/shared/test_jsonrpc_dispatcher.py:293–295  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

291 run_returned = anyio.Event()
292
293 async def drive() -> None:
294 await server.run(park, on_notify)
295 run_returned.set()
296
297 async with anyio.create_task_group() as tg:
298 tg.start_soon(drive)

Callers

nothing calls this directly

Calls 1

runMethod · 0.45

Tested by

no test coverage detected