class_docstr: A key-value store for synchronization of values, over multiple devices.
class_docstr_tok: ["A","key-value","store","for","synchronization","of","values",",","over","multiple","devices","."]
docstr: Initializes a new KVStore.
  
  Parameters
  ----------
  handle : KVStoreHandle
      `KVStore` handle of C API.
docstr_tok: ["Initializes","a","new","KVStore",".","Parameters","--","--","--","--","--","handle",":","KVStoreHandle","`","KVStore","`","handle","of","C","API","."]
code: def __init__(self, handle):
      """Initializes a new KVStore.
  
      Parameters
      ----------
      handle : KVStoreHandle
          `KVStore` handle of C API.
      """
      assert isinstance(handle, KVStoreHandle)
      self.handle = handle
      self._updater = None
      self._updater_func = None
      self._str_updater_func = None
      self._is_p3 = os.getenv("DMLC_PS_VAN_TYPE", "") == "p3"
  
imports: import pickle
  import ctypes
  import os
  from ..ndarray import NDArray
  from ..ndarray import _ndarray_cls
  from ..base import _LIB, c_str
  from ..base import check_call, mx_uint, py_str
  from ..base import NDArrayHandle, KVStoreHandle
  from ..None import optimizer
  from .base import _ctype_key_value, _ctype_dict, KVStoreBase
label_desc: Use image node_id 1 to create a new KVStore object from inherited base classes: KVStoreBase with example: obj = KVStore(handle)