(request: APIRequest, call_next: CallNext)
| 1875 | |
| 1876 | def test_construction_rejects_sync_function(self) -> None: |
| 1877 | def sync_fn(request: APIRequest, call_next: CallNext) -> Any: |
| 1878 | return call_next(request) |
| 1879 | |
| 1880 | with pytest.raises(TypeError, match="is not an async function"): |
| 1881 | make_async_client(middleware=[sync_fn]) |
nothing calls this directly
no outgoing calls
no test coverage detected