code: def __init__(
      self,
      session_id,
      computing_session,
      party: PartyMeta,
      parties: List[PartyMeta],
      mq: MQ,
      rabbit_manager: RabbitManager,
      max_message_size,
      connection,
      mode,
  ):
      super().__init__(
          session_id=session_id,
          computing_session=computing_session,
          party=party,
          parties=parties,
          mq=mq,
          max_message_size=max_message_size,
          conf=connection,
      )
      self._rabbit_manager = rabbit_manager
      self._vhost_set = set()
      self._mode = mode
  
imports: import json
  from logging import getLogger
  from typing import List, Optional
  from fate.arch.federation.api import PartyMeta
  from fate.arch.federation.message_queue import MessageQueueBasedFederation, Party
  from ._mq_channel import MQChannel
  from ._rabbit_manager import RabbitManager
label_desc: Use image node_id 2 to create a new RabbitmqFederation object from inherited base classes: MessageQueueBasedFederation with example: obj = RabbitmqFederation(session_id, computing_session, party, parties, mq, rabbit_manager, max_message_size, connection, mode)