code: def __init__(self, index, key):
      super(HorovodRunTaskService, self).__init__(
          HorovodRunTaskService.NAME_FORMAT % index, key
      )
      self.index = index
      self._task_to_task_address_check_completed = False
  
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 HorovodRunTaskService object from inherited base classes: task_service with example: obj = HorovodRunTaskService(index, key)