code: def job_sdk_client(headers):
      with _ray_start(
          include_dashboard=True, num_cpus=1, _node_ip_address="0.0.0.0"
      ) as ctx:
          address = ctx.address_info["webui_url"]
          assert wait_until_server_available(address)
          yield JobSubmissionClient(
              format_web_url(address), headers=headers
          )
  
file_path: ray/cpp/test_submit_cpp_job.py
imports: import os
  import shutil
  import sys
  import tempfile
  import pytest
  from ray._private.test_utils import format_web_url, wait_for_condition, wait_until_server_available
  from ray.job_submission import JobStatus, JobSubmissionClient
  from ray.tests.conftest import _ray_start
label_desc: Use image node_id 2 for calling a global function with example usage: job_sdk_client(headers) without return types