code: def __init__(
      self,
      index,
      task_addresses,
      key,
      verbose,
      match_intf=False,
      attempts=3,
  ):
      super(HorovodRunTaskClient, self).__init__(
          HorovodRunTaskService.NAME_FORMAT % index,
          task_addresses,
          key,
          verbose,
          match_intf=match_intf,
          attempts=attempts,
      )
      self.index = index
  
file_path: horovod/horovod/runner/task/task_service.py
imports: from horovod.runner.common.service import task_service
label_desc: Use image node_id 1 to create a new HorovodRunTaskClient object from inherited base classes: task_service with example: obj = HorovodRunTaskClient(index, task_addresses, key, verbose, match_intf, attempts)