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

Method handle_async

tests/test_middleware.py:286–289  ·  tests/test_middleware.py::ParseInMiddleware.handle_async
(self, request: APIRequest, call_next: AsyncCallNext)

Source from the content-addressed store, hash-verified

284
285 @override
286 async def handle_async(self, request: APIRequest, call_next: AsyncCallNext) -> Any:
287 response = await call_next(request)
288 self.parsed.append(await response.parse())
289 return response
290
291
292class AsyncCallableMiddleware:

Callers

nothing calls this directly

Calls 1

parseMethod · 0.45

Tested by

no test coverage detected