class_docstr: Note: most parameters has default dummy value,
        which is convenient when used in script.
        please pass in custom implements as you wish
class_docstr_tok: ["Note",":","most","parameters","has","default","dummy","value",",","which","is","convenient","when","used","in","script",".","please","pass","in","custom","implements","as","you","wish"]
code: def rank(self):
      return self.local.rank
  
imports: import logging
  import typing
  from typing import Iterable, Literal, Optional, Tuple, TypeVar, overload
  from fate.arch.trace import auto_trace
  from ._cipher import CipherKit
  from ._metrics import InMemoryMetricsHandler, MetricsWrap
  from ._namespace import NS, default_ns
  from ._parties import Parties, Party
  from ..unify import device
label_desc: Use image node_id 25 for calling the Context obj's underlying member method code with example usage: obj.rank() and returns: self