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

Method handle

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

Source from the content-addressed store, hash-verified

269class SyncOnlyMiddleware(Middleware):
270 @override
271 def handle(self, request: APIRequest, call_next: CallNext) -> Any:
272 return call_next(request)
273
274
275class AsyncOnlyMiddleware(Middleware):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected