Minimal stand-in for `BetaSelfHostedWork` — only fields the poller reads.
| 40 | |
| 41 | |
| 42 | class _StubWork: |
| 43 | """Minimal stand-in for `BetaSelfHostedWork` — only fields the poller reads.""" |
| 44 | |
| 45 | def __init__(self, *, id: str = "work_1") -> None: |
| 46 | self.id = id |
| 47 | self.data = _StubWorkData() |
| 48 | |
| 49 | |
| 50 | def _api_status_error(code: int) -> APIStatusError: |
no outgoing calls