ray.util.state.common.JobState#

class ray.util.state.common.JobState(*, type: ray.dashboard.modules.job.pydantic_models.JobType, job_id: str = None, submission_id: str = None, driver_info: ray.dashboard.modules.job.pydantic_models.DriverInfo = None, status: ray.dashboard.modules.job.common.JobStatus, entrypoint: str, message: str = None, error_type: str = None, start_time: int = None, end_time: int = None, metadata: Dict[str, str] = None, runtime_env: Dict[str, Any] = None, driver_agent_http_address: str = None, driver_node_id: str = None)[source]#

Bases: ray.util.state.common.StateSchema, ray.dashboard.modules.job.pydantic_models.JobDetails

The state of the job that’s submitted by Ray’s Job APIs or driver jobs

Below columns can be used for the --filter option.

submission_id

job_id

status

type

classmethod filterable_columns() Set[str][source]#

Return a list of filterable columns

classmethod humanify(state: dict) dict[source]#

Convert the given state object into something human readable.

classmethod list_columns(detail: bool = False) List[str][source]#

Return a list of columns.