MCPcopy Create free account
hub / github.com/anthropics/anthropic-sdk-python / handle_async

Method handle_async

tests/test_middleware.py:237–238  ·  view source on GitHub ↗
(self, request: APIRequest, call_next: AsyncCallNext)

Source from the content-addressed store, hash-verified

235
236 @override
237 async def handle_async(self, request: APIRequest, call_next: AsyncCallNext) -> Any: # noqa: ARG002
238 raise Boom("middleware failure")
239
240
241class SyncOnlyMiddleware(Middleware):

Callers 1

Calls 1

BoomClass · 0.85

Tested by

no test coverage detected