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

Method handle_async

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

Source from the content-addressed store, hash-verified

144
145 @override
146 async def handle_async(self, request: APIRequest, call_next: AsyncCallNext) -> Any:
147 return await call_next(self._append(request))
148
149
150class RebuildRequest(Middleware):

Callers

nothing calls this directly

Calls 1

_appendMethod · 0.95

Tested by

no test coverage detected