ray.runtime_context.RuntimeContext.node_id#
- property RuntimeContext.node_id#
Get current node ID for this worker or driver.
Node ID is the id of a node that your driver, task, or actor runs.
- Returns:
A node id for this worker or driver.
Warning
DEPRECATED: This API is deprecated and may be removed in future Ray releases. Use get_node_id() instead