(request: APIRequest, call_next: CallNext)
| 1487 | |
| 1488 | def test_construction_accepts_sync_middleware(self) -> None: |
| 1489 | def sync_fn(request: APIRequest, call_next: CallNext) -> Any: |
| 1490 | return call_next(request) |
| 1491 | |
| 1492 | client = make_sync_client(middleware=[SyncOnlyMiddleware(), RecordingMiddleware(), sync_fn]) |
| 1493 | assert len(client._middleware) == 3 |
nothing calls this directly
no outgoing calls
no test coverage detected