class_docstr: Notifies worker that the set of available hosts/slots has changed.
class_docstr_tok: ["Notifies","worker","that","the","set","of","available","hosts\/slots","has","changed","."]
code: def __init__(self, timestamp, res=HostUpdateResult.no_update):
      self.timestamp = timestamp
      self.res = res
  
imports: import os
  import threading
  from enum import IntFlag
  from horovod.runner.common.util import network, secret
  from horovod.runner.elastic.rendezvous import PUT_WORKER_ADDRESSES
  from horovod.runner.http.http_client import put_data_into_kvstore
label_desc: Use image node_id 1 to create a new HostsUpdatedRequest object from inherited base classes: object with example: obj = HostsUpdatedRequest(timestamp, res)