code: def __init__(self, party: Union["Party", "Parties"], key) -> None:
      self._party = party
      self._key = key
  
imports: import logging
  import typing
  from typing import List, Tuple, TypeVar, Union
  from fate.arch.federation.api import PartyMeta, TableRemotePersistentPickler, TableRemotePersistentUnpickler
  from fate.arch.trace import federation_get_timer, federation_remote_timer
  from ._namespace import NS
label_desc: Use image node_id 1 to create a new _KeyedParty object  with example: obj = _KeyedParty(party, key)