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

Method handle_async

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

Source from the content-addressed store, hash-verified

263
264 @override
265 async def handle_async(self, request: APIRequest, call_next: AsyncCallNext) -> Any: # noqa: ARG002
266 raise Boom("middleware failure")
267
268
269class SyncOnlyMiddleware(Middleware):

Callers 1

Calls 1

BoomClass · 0.85

Tested by

no test coverage detected