code: def __init__(
      self,
      record_q: Optional["Queue[pb.Record]"] = None,
      result_q: Optional["Queue[pb.Result]"] = None,
      process: Optional[BaseProcess] = None,
      process_check: bool = True,
      mailbox: Optional[Mailbox] = None,
  ) -> None:
      self.record_q = record_q
      self.result_q = result_q
      if self.record_q:
          tracelog.annotate_queue(self.record_q, "record_q")
      if self.result_q:
          tracelog.annotate_queue(self.result_q, "result_q")
      super().__init__(
          process=process, process_check=process_check, mailbox=mailbox
      )
  
file_path: wandb/wandb/sdk/interface/interface_queue.py
imports: import logging
  from multiprocessing.process import BaseProcess
  from typing import TYPE_CHECKING, Optional
  from ..lib import tracelog
  from ..lib.mailbox import Mailbox
  from .interface_shared import InterfaceShared
  from .router_queue import MessageQueueRouter
label_desc: Use image node_id 1 to create a new InterfaceQueue object from inherited base classes: InterfaceShared with example: obj = InterfaceQueue(record_q, result_q, process, process_check, mailbox)