code: def _get_message_cache_key(name: str, tag: str, party_id, role: str):
      cache_key = _SPLIT_.join([name, tag, str(party_id), role])
      return cache_key
  
imports: import json
  import logging
  import sys
  import typing
  from typing import List
  from fate.arch.computing.api import KVTableContext
  from fate.arch.federation.api import Federation, PartyMeta, TableMeta
  from ._datastream import Datastream
  from ._parties import Party
label_desc: Use image node_id 1 for calling a global function with example usage: _get_message_cache_key(name, tag, party_id, role) and returns: cache_key