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

Method handle

tests/test_middleware.py:188–190  ·  view source on GitHub ↗
(self, request: APIRequest, call_next: CallNext)

Source from the content-addressed store, hash-verified

186
187 @override
188 def handle(self, request: APIRequest, call_next: CallNext) -> Any: # noqa: ARG002
189 self.requests.append(request)
190 return self.message
191
192 @override
193 async def handle_async(self, request: APIRequest, call_next: AsyncCallNext) -> Any: # noqa: ARG002

Callers

nothing calls this directly

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected