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

Function _stop

tests/lib/environments/test_poller_method.py:203–204  ·  view source on GitHub ↗
(_work_id: str, **_kwargs: Any)

Source from the content-addressed store, hash-verified

201 fake = FakeWork(poll_script=[_StubWork(id="work_done")])
202
203 def _stop(_work_id: str, **_kwargs: Any) -> None:
204 raise _api_status_error(409)
205
206 fake.stop = _stop # type: ignore[method-assign]
207 it = iter_work(cast(Any, fake), environment_id="env_1")

Callers

nothing calls this directly

Calls 1

_api_status_errorFunction · 0.70

Tested by

no test coverage detected