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

Method handle_async

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

Source from the content-addressed store, hash-verified

292
293 @override
294 async def handle_async(self, request: APIRequest, call_next: AsyncCallNext) -> Any:
295 response = await call_next(request)
296 self.responses.append(response)
297 return response
298
299
300class ParseInMiddleware(Middleware):

Callers

nothing calls this directly

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected