class_docstr: A rendezvous implementation that uses `etcd <https://etcd.io/>`__ as the backend store.
class_docstr_tok: ["A","rendezvous","implementation","that","uses","`","etcd","<","https",":","\/\/etcd.io\/",">","`","__","as","the","backend","store","."]
code: def setup_kv_store(self, rdzv_version):
      store_path = self.get_path(f"/rdzv/v_{rdzv_version}/kv")
      self.create_path_if_not_exists(store_path)
      return EtcdStore(
          etcd_client=self.client, etcd_store_prefix=store_path
      )
  
imports: import json
  import logging
  import sys
  import threading
  import time
  from typing import Optional
  import etcd
  from torch.distributed.elastic.rendezvous import RendezvousClosedError, RendezvousError, RendezvousHandler, RendezvousParameters, RendezvousTimeoutError
  from .utils import parse_rendezvous_endpoint
  from .etcd_store import EtcdStore, cas_delay
label_desc: Use image node_id 24 for calling the EtcdRendezvous obj's underlying member method code with example usage: obj.setup_kv_store(rdzv_version) and returns: EtcdStore