docstr: :param driver: Spark driver service
  :type driver: SparkDriverService
docstr_tok: [":","param","driver",":","Spark","driver","service",":","type","driver",":","SparkDriverService"]
code: def __init__(self, driver):
      """
      :param driver: Spark driver service
      :type driver: SparkDriverService
      """
      super(SparkDriverHostDiscovery, self).__init__()
      self._driver = driver
  
imports: from horovod.spark.driver.driver_service import SparkDriverService
  from horovod.runner.elastic.discovery import HostDiscovery
label_desc: Use image node_id 1 to create a new SparkDriverHostDiscovery object from inherited base classes: HostDiscovery with example: obj = SparkDriverHostDiscovery(driver)