(request: APIRequest, call_next: CallNext)
| 2156 | |
| 2157 | def test_lib_client_construction_validates_middleware(self) -> None: |
| 2158 | def sync_fn(request: APIRequest, call_next: CallNext) -> Any: |
| 2159 | return call_next(request) |
| 2160 | |
| 2161 | with pytest.raises(TypeError, match="is not an async function"): |
| 2162 | make_async_bedrock_client(middleware=[sync_fn]) |
nothing calls this directly
no outgoing calls
no test coverage detected