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

Method handle_async

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

Source from the content-addressed store, hash-verified

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

Callers 1

Calls 1

BoomClass · 0.85

Tested by

no test coverage detected