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

Method __init__

tests/test_middleware.py:183–185  ·  view source on GitHub ↗
(self, message: Message)

Source from the content-addressed store, hash-verified

181
182class ShortCircuit(Middleware):
183 def __init__(self, message: Message) -> None:
184 self.message = message
185 self.requests: list[APIRequest] = []
186
187 @override
188 def handle(self, request: APIRequest, call_next: CallNext) -> Any: # noqa: ARG002

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected