JobStatus
JobStatus
dataclass
JobStatus(state: Literal['pending', 'running', 'succeeded', 'failed', 'cancelled', 'unknown'], native_state: str, message: str = '')
Provider-neutral status plus the original provider state.
Attributes:
| Name | Type | Description |
|---|---|---|
state |
str
|
pending, running, succeeded, failed, cancelled, or unknown. |
native_state |
str
|
Unmodified provider status name. |
message |
str
|
Optional provider explanation. |
Note
A cached JobRecord is not a live JobStatus query. Terminal failure or cancellation is an outcome, not an exception from wait().