ray.runtime_context.RuntimeContext.current_placement_group_id#

property RuntimeContext.current_placement_group_id#

Get the current Placement group ID of this worker.

Returns:

The current placement group id of this worker.

Warning

DEPRECATED: This API is deprecated and may be removed in future Ray releases. Use get_placement_group_id() instead