code: def __init__(
      self,
      federation_session_id,
      computing_session,
      party: PartyMeta,
      parties: typing.List[PartyMeta],
      max_message_size,
      mq,
  ):
      super().__init__(
          session_id=federation_session_id,
          computing_session=computing_session,
          party=party,
          parties=parties,
          max_message_size=max_message_size,
          mq=mq,
      )
  
imports: import json
  import typing
  from logging import getLogger
  from fate.arch.federation.api import PartyMeta
  from fate.arch.federation.backends.osx import osx_pb2
  from fate.arch.federation.message_queue import MessageQueueBasedFederation
  from ._mq_channel import MQChannel
label_desc: Use image node_id 2 to create a new OSXFederation object from inherited base classes: MessageQueueBasedFederation with example: obj = OSXFederation(federation_session_id, computing_session, party, parties, max_message_size, mq)