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

Method handle_async

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

Source from the content-addressed store, hash-verified

266
267 @override
268 async def handle_async(self, request: APIRequest, call_next: AsyncCallNext) -> Any:
269 response = await call_next(request)
270 self.responses.append(response)
271 return response
272
273
274class ParseInMiddleware(Middleware):

Callers

nothing calls this directly

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected