parameters: (self)
return_statement: return rank.value
docstring: Returns the rank of this worker node.
  
          Returns
          -------
          rank : int
              The rank of this node, which is in range [0, num_workers())
docstring_summary: Returns the rank of this worker node.
docstring_tokens: Returns the rank of this worker node .
function: def rank(self):
          """ Returns the rank of this worker node.
  
          Returns
          -------
          rank : int
              The rank of this node, which is in range [0, num_workers())
          """
          rank = ctypes.c_int()
          check_call(_LIB.MXKVStoreGetRank(self.handle, ctypes.byref(rank)))
          return rank.value
function_tokens: def rank ( self ) : rank = ctypes . c_int ( ) check_call ( _LIB . MXKVStoreGetRank ( self . handle , ctypes . byref ( rank ) ) ) return rank . value