MCPcopy Create free account
hub / github.com/github/copilot-sdk / on_open

Method on_open

python/test_canvas.py:93–94  ·  view source on GitHub ↗
(self, ctx: CanvasProviderOpenRequest)

Source from the content-addressed store, hash-verified

91async def test_default_canvas_handler_on_action_raises_no_handler():
92 class StubHandler(CanvasHandler):
93 async def on_open(self, ctx: CanvasProviderOpenRequest) -> CanvasProviderOpenResult:
94 return CanvasProviderOpenResult()
95
96 handler = StubHandler()
97 ctx = CanvasProviderInvokeActionRequest(

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected