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

Class _StubWork

tests/lib/environments/test_poller_method.py:28–33  ·  view source on GitHub ↗

Minimal stand-in for ``BetaSelfHostedWork`` — only fields the poller reads.

Source from the content-addressed store, hash-verified

26
27
28class _StubWork:
29 """Minimal stand-in for ``BetaSelfHostedWork`` — only fields the poller reads."""
30
31 def __init__(self, *, id: str = "work_1") -> None:
32 self.id = id
33 self.data = _StubWorkData()
34
35
36def _api_status_error(code: int) -> APIStatusError:

Calls

no outgoing calls