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

Function interrupted

tests/lib/environments/test_poller_method.py:748–749  ·  view source on GitHub ↗
(_request: httpx2.Request)

Source from the content-addressed store, hash-verified

746 interrupt = _StopTest if sync else asyncio.CancelledError
747
748 def interrupted(_request: httpx2.Request) -> httpx2.Response:
749 raise interrupt
750
751 respx_mock.post("/v1/environments/env_1/work/work_1/ack").mock(side_effect=interrupted)
752

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected