MCPcopy Index your code
hub / github.com/github/copilot-sdk / handle_canvas_open

Function handle_canvas_open

python/copilot/generated/rpc.py:27033–27038  ·  view source on GitHub ↗
(params: dict)

Source from the content-addressed store, hash-verified

27031 return result.to_dict()
27032 client.set_request_handler("sessionFs.sqliteExists", handle_session_fs_sqlite_exists)
27033 async def handle_canvas_open(params: dict) -> dict | None:
27034 request = CanvasProviderOpenRequest.from_dict(params)
27035 handler = get_handlers(request.session_id).canvas
27036 if handler is None: raise RuntimeError(f"No canvas handler registered for session: {request.session_id}")
27037 result = await handler.open(request)
27038 return result.to_dict()
27039 client.set_request_handler("canvas.open", handle_canvas_open)
27040 async def handle_canvas_close(params: dict) -> dict | None:
27041 request = CanvasProviderCloseRequest.from_dict(params)

Callers

nothing calls this directly

Calls 3

openMethod · 0.65
from_dictMethod · 0.45
to_dictMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…