class_docstr: Abstract class for implementing the strategy for launching the master instance of the cluster.
class_docstr_tok: ["Abstract","class","for","implementing","the","strategy","for","launching","the","master","instance","of","the","cluster","."]
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.
      """
      # Create the Logger
      self.log = logging.getLogger(__name__)
  
      self._group = runtime_group
      self._port: Union[
          int, None
      ] = None  # Needs to be set in self.start()
      self._process: Optional[
          Popen
      ] = None  # Needs to be set in self.start()
  
      self.log.debug("MasterLauncher initialized.")
  
imports: import atexit
  import logging
  from subprocess import Popen
  from typing import Dict, List, Optional, Union
  from lazycluster.exceptions import LazyclusterError
  from lazycluster.runtime_mgmt import RuntimeGroup
label_desc: Use image node_id 1 to create a new MasterLauncher object from inherited base classes: object with example: obj = MasterLauncher(runtime_group)