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

Method handle

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

Source from the content-addressed store, hash-verified

242class SyncOnlyMiddleware(Middleware):
243 @override
244 def handle(self, request: APIRequest, call_next: CallNext) -> Any:
245 return call_next(request)
246
247
248class AsyncOnlyMiddleware(Middleware):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected