Minimal stand-in for ``AsyncAnthropic`` — only exposes the resource path the runner reads.
| 266 | |
| 267 | |
| 268 | class _FakeClient: |
| 269 | """Minimal stand-in for ``AsyncAnthropic`` — only exposes the resource path |
| 270 | the runner reads.""" |
| 271 | |
| 272 | def __init__(self, events: FakeAsyncEvents) -> None: |
| 273 | self.beta = type( |
| 274 | "_Beta", |
| 275 | (), |
| 276 | {"sessions": type("_Sessions", (), {"events": events})()}, |
| 277 | )() |
| 278 | |
| 279 | |
| 280 | async def _run_with_fakes( |
no outgoing calls