ray.runtime_context.RuntimeContext.runtime_env#

property RuntimeContext.runtime_env#

Get the runtime env used for the current driver or worker.

Returns:

The runtime env currently using by this worker. The type of

return value is ray.runtime_env.RuntimeEnv.