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

Method __init__

tests/test_middleware.py:258–259  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

256 """Records the response wrapper returned by `call_next` and passes it through."""
257
258 def __init__(self) -> None:
259 self.responses: list[Any] = []
260
261 @override
262 def handle(self, request: APIRequest, call_next: CallNext) -> Any:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected