ray.runtime_context.RuntimeContext.get_placement_group_id#

RuntimeContext.get_placement_group_id() str | None[source]#

Get the current Placement group ID of this worker.

Returns:

The current placement group id in hex format of this worker.