code: def __init__(
      self, index, task_addresses, key, match_intf=False, retries=3
  ):
      super(HorovodRunTaskClient, self).__init__(
          HorovodRunTaskService.NAME_FORMAT % index,
          task_addresses,
          key,
          match_intf=match_intf,
          retries=retries,
      )
      self.index = index
  
file_path: bluefog/bluefog/run/horovodrun/task/task_service.py
imports: from bluefog.run.horovodrun.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, match_intf, retries)