class_docstr: Abstract implementation of the `MasterLauncher` interface used to implement a concrete launch strategy for mongodb instance used in hyperopt.
  
  This class implements the logic for starting a MongoDB instance on localhost. Hence, we simply treat the MongoDB
  instance as master node.
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.dbpath: Optional[str] = None
  
imports: import os
  import time
  from typing import List, Optional, Union
  from lazycluster import Runtime, RuntimeGroup, RuntimeTask, _utils
  from lazycluster.cluster import MasterLauncher, MasterWorkerCluster, WorkerLauncher
  from lazycluster.cluster.exceptions import MasterStartError
  from lazycluster.exceptions import PortInUseError
  from lazycluster.utils import Environment
label_desc: Use image node_id 1 to create a new MongoLauncher object from inherited base classes: MasterLauncher with example: obj = MongoLauncher(runtime_group)