(request: APIRequest, call_next: CallNext)
| 2509 | |
| 2510 | def test_lib_client_construction_validates_middleware(self) -> None: |
| 2511 | def sync_fn(request: APIRequest, call_next: CallNext) -> Any: |
| 2512 | return call_next(request) |
| 2513 | |
| 2514 | with pytest.raises(TypeError, match="is not an async function"): |
| 2515 | make_async_bedrock_client(middleware=[sync_fn]) |
nothing calls this directly
no outgoing calls
no test coverage detected