code: def remote_kernel(request):
      proc = subprocess.Popen(
          [
              "python3",
              "-m",
              "ipykernel",
              '--Session.key=b""',
              f"--hb={JUPYTER_KERNEL_HB_PORT}",
              f"--shell={JUPYTER_KERNEL_SHELL_PORT}",
              f"--iopub={JUPYTER_KERNEL_IOPUB_PORT}",
              f"--stdin={JUPYTER_KERNEL_STDIN_PORT}",
              f"--control={JUPYTER_KERNEL_CONTROL_PORT}",
              "--ip=0.0.0.0",
          ]
      )
      request.addfinalizer(proc.kill)
  
imports: from __future__ import annotations
  import os
  import subprocess
  import pytest
  from airflow.providers.papermill.hooks.kernel import JUPYTER_KERNEL_CONTROL_PORT, JUPYTER_KERNEL_HB_PORT, JUPYTER_KERNEL_IOPUB_PORT, JUPYTER_KERNEL_SHELL_PORT, JUPYTER_KERNEL_STDIN_PORT
label_desc: Use image node_id 1 for calling a global function with example usage: remote_kernel(request) without return types