class_docstr: WorkerLauncher implementation for launching DASK workers in a round robin manner. See its documentation to get a list of the inherited methods and attributes.
class_docstr_tok: ["WorkerLauncher","implementation","for","launching","DASK","workers","in","a","round","robin","manner",".","See","its","documentation","to","get","a","list","of","the","inherited","methods","and","attributes","."]
docstr: Initialization method.
  
  Args:
      runtime_group: The group where the workers will be started.
docstr_tok: ["Initialization","method",".","Args",":","runtime_group",":","The","group","where","the","workers","will","be","started","."]
code: def __init__(self, runtime_group: RuntimeGroup):
      """Initialization method.
  
      Args:
          runtime_group: The group where the workers will be started.
      """
      super().__init__(runtime_group)
      self._ports: Optional[List[int]] = None
  
      self.log.debug("RoundRobinLauncher initialized.")
  
imports: import time
  from subprocess import Popen
  from typing import List, Optional, Union
  from distributed import Client
  from lazycluster import Runtime, RuntimeGroup, RuntimeTask, _utils
  from lazycluster.cluster import MasterLauncher, MasterWorkerCluster, WorkerLauncher
  from lazycluster.cluster.exceptions import MasterStartError
  from lazycluster.exceptions import NoPortsLeftError, PortInUseError
label_desc: Use image node_id 1 to create a new RoundRobinLauncher object from inherited base classes: WorkerLauncher with example: obj = RoundRobinLauncher(runtime_group)