ray.runtime_context.RuntimeContext.should_capture_child_tasks_in_placement_group#
- property RuntimeContext.should_capture_child_tasks_in_placement_group#
Get if the current task should capture parent’s placement group.
This returns True if it is called inside a driver.
- Returns:
- Return True if the current task should implicitly
capture the parent placement group.