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

Method __init__

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected