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

Method handle

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

Source from the content-addressed store, hash-verified

140
141 @override
142 def handle(self, request: APIRequest, call_next: CallNext) -> Any:
143 return call_next(self._append(request))
144
145 @override
146 async def handle_async(self, request: APIRequest, call_next: AsyncCallNext) -> Any:

Callers

nothing calls this directly

Calls 1

_appendMethod · 0.95

Tested by

no test coverage detected