code: def __init__(self, hostname, slots):
      self.hostname = hostname
      self.slots = slots
  
file_path: horovod/horovod/runner/common/util/hosts.py
imports: import collections
  import re
  from dataclasses import dataclass
label_desc: Use image node_id 1 to create a new HostInfo object  with example: obj = HostInfo(hostname, slots)