(ctx: DCtx, method: str, params: Mapping[str, Any] | None)
| 27 | captured: list[BaseContext[TransportContext]] = [] |
| 28 | |
| 29 | async def server_on_request(ctx: DCtx, method: str, params: Mapping[str, Any] | None) -> dict[str, Any]: |
| 30 | bctx = BaseContext(ctx) |
| 31 | captured.append(bctx) |
| 32 | return {} |
| 33 | |
| 34 | async with running_pair(direct_pair, server_on_request=server_on_request) as (client, *_): |
| 35 | with anyio.fail_after(5): |
nothing calls this directly
no test coverage detected