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

Function _create_counter_session

python/e2e/test_canvas_e2e.py:72–81  ·  view source on GitHub ↗
(
    ctx: E2ETestContext,
)

Source from the content-addressed store, hash-verified

70
71
72async def _create_counter_session(
73 ctx: E2ETestContext,
74) -> tuple[_CounterCanvasHandler, CopilotSession]:
75 handler = _CounterCanvasHandler()
76 session = await ctx.client.create_session(
77 on_permission_request=PermissionHandler.approve_all,
78 canvases=[_counter_canvas()],
79 canvas_handler=handler,
80 )
81 return handler, session
82
83
84class TestCanvasRpc:

Calls 3

_counter_canvasFunction · 0.85
create_sessionMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…