code: def send_manager(
      runner,
      git_repo,
      record_q,
      result_q,
      interface,
  ):
      def send_manager_helper(run, meta):
          # test_settings.update(save_code=True, source=wandb.sdk.wandb_settings.Source.INIT)
          context_keeper = context.ContextKeeper()
          sm = SendManager(
              settings=run.settings,
              record_q=record_q,
              result_q=result_q,
              interface=interface,
              context_keeper=context_keeper,
          )
          meta.backend_interface.publish_run(run)
          sm.send(record_q.get())
          return sm
  
      yield send_manager_helper
  
imports: import os
  import platform
  import queue
  import subprocess
  import unittest.mock
  import pytest
  import wandb
  from wandb.sdk.interface.interface_queue import InterfaceQueue
  from wandb.sdk.internal import context
  from wandb.sdk.internal.sender import SendManager
  from wandb.sdk.internal.system.system_info import SystemInfo
label_desc: Use image node_id 5 for calling a global function with example usage: send_manager(runner, git_repo, record_q, result_q, interface) and returns: sm