Minimal stand-in for ``BetaSelfHostedWork`` — only fields the poller reads.
| 26 | |
| 27 | |
| 28 | class _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 | |
| 36 | def _api_status_error(code: int) -> APIStatusError: |
no outgoing calls