ray.experimental.state.common.RuntimeEnvState#

class ray.experimental.state.common.RuntimeEnvState(runtime_env: str, success: bool, creation_time_ms: Optional[float], node_id: str, ref_cnt: int, error: Optional[str])[source]#

Bases: ray.experimental.state.common.StateSchema

Runtime Environment State

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

node_id

error

success

runtime_env

Below columns are available only when get API is used,

--detail is specified through CLI, or detail=True is given to Python APIs.

ref_cnt

error

runtime_env: str#

The runtime environment spec.

success: bool#

Whether or not the runtime env creation has succeeded.

creation_time_ms: Optional[float]#

The latency of creating the runtime environment. Available if the runtime env is successfully created.

node_id: str#

The node id of this runtime environment.

ref_cnt: int#

The number of actors and tasks that use this runtime environment.

error: Optional[str]#

The error message if the runtime environment creation has failed. Available if the runtime env is failed to be created.