class_docstr: Placement group based scheduling strategy.
  
  Attributes:
      placement_group: the placement group this actor belongs to,
          or None if it doesn't belong to any group.
      placement_group_bundle_index: the index of the bundle
          if the actor belongs to a placement group, which may be -1 to
          specify any available bundle.
      placement_group_capture_child_tasks: Whether or not children tasks
          of this actor should implicitly use the same placement group
          as its parent. It is False by default.
class_docstr_tok: ["Placement","group","based","scheduling","strategy",".","Attributes",":","placement_group",":","the","placement","group","this","actor","belongs","to",",","or","None","if","it","does","n't","belong","to","any","group",".","placement_group_bundle_index",":","the","index","of","the","bundle","if","the","actor","belongs","to","a","placement","group",",","which","may","be","-1","to","specify","any","available","bundle",".","placement_group_capture_child_tasks",":","Whether","or","not","children","tasks","of","this","actor","should","implicitly","use","the","same","placement","group","as","its","parent",".","It","is","False","by","default","."]
code: def __init__(
      self,
      placement_group: "PlacementGroup",
      placement_group_bundle_index: int = -1,
      placement_group_capture_child_tasks: Optional[bool] = None,
  ):
      self.placement_group = placement_group
      self.placement_group_bundle_index = placement_group_bundle_index
      self.placement_group_capture_child_tasks = (
          placement_group_capture_child_tasks
      )
  
imports: from typing import Dict, Union, Optional, TYPE_CHECKING
  from ray.util.annotations import PublicAPI
label_desc: Use image node_id 1 to create a new PlacementGroupSchedulingStrategy object  with example: obj = PlacementGroupSchedulingStrategy(placement_group, placement_group_bundle_index, placement_group_capture_child_tasks)