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

Method handle

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected