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

Method handle_async

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

Source from the content-addressed store, hash-verified

191
192 @override
193 async def handle_async(self, request: APIRequest, call_next: AsyncCallNext) -> Any: # noqa: ARG002
194 self.requests.append(request)
195 return self.message
196
197
198class AttemptRecorder(Middleware):

Callers

nothing calls this directly

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected