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

Function _ack

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

Source from the content-addressed store, hash-verified

242 fake = FakeWork(poll_script=[_StubWork(id="work_bad")])
243
244 def _ack(_work_id: str, **_kwargs: Any) -> None:
245 raise RuntimeError("ack bug")
246
247 fake.ack = _ack # type: ignore[method-assign]
248 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