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

Method __init__

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

Source from the content-addressed store, hash-verified

282 """Records the response wrapper returned by `call_next` and passes it through."""
283
284 def __init__(self) -> None:
285 self.responses: list[Any] = []
286
287 @override
288 def handle(self, request: APIRequest, call_next: CallNext) -> Any:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected