ray.runtime_context.RuntimeContext.job_id#
- property RuntimeContext.job_id#
Get current job ID for this worker or driver.
Job ID is the id of your Ray drivers that create tasks or actors.
- Returns:
If called by a driver, this returns the job ID. If called in a task, return the job ID of the associated driver.
Warning
DEPRECATED: This API is deprecated and may be removed in future Ray releases. Use get_job_id() instead