JobState#
- class ray.util.state.common.JobState(*, type: JobType, job_id: str | None = None, submission_id: str | None = None, driver_info: DriverInfo | None = None, status: JobStatus, entrypoint: str, message: str | None = None, error_type: str | None = None, start_time: int | None = None, end_time: int | None = None, metadata: Dict[str, str] | None = None, runtime_env: Dict[str, Any] | None = None, driver_agent_http_address: str | None = None, driver_node_id: str | None = None, driver_exit_code: int | None = None)[source]#
Bases:
StateSchema,JobDetailsThe state of the job that’s submitted by Ray’s Job APIs or driver jobs
Below columns can be used for the
--filteroption.job_id
status
submission_id
type
Below columns are available only when
getAPI is used,--detailis specified through CLI, ordetail=Trueis given to Python APIs.end_time
runtime_env
start_time
error_type
status
driver_node_id
entrypoint
type
driver_agent_http_address
driver_exit_code
job_id
metadata
driver_info
message
submission_id
- classmethod humanify(state: dict) dict[source]#
Convert the given state object into something human readable.
- model_config: ClassVar[ConfigDict] = {}#
Configuration for the model, should be a dictionary conforming to [
ConfigDict][pydantic.config.ConfigDict].