code: def vertex_runner(test_settings):
      """Vertex runner initialized with no backend config."""
      registry = MagicMock()
      environment = MagicMock()
  
      async def _mock_get_credentials(*args, **kwargs):
          return MagicMock()
  
      async def _mock_verify(*args, **kwargs):
          return MagicMock()
  
      environment.get_credentials = _mock_get_credentials
      environment.verify = _mock_verify
      api = Api(default_settings=test_settings(), load_settings=False)
      runner = VertexRunner(
          api, {"SYNCHRONOUS": False}, environment, registry
      )
      return runner
  
file_path: wandb/tests/pytest_tests/unit_tests/test_launch/test_runner/test_vertex.py
imports: from typing import List
  from unittest.mock import MagicMock
  import pytest
  from wandb.apis.internal import Api
  from wandb.sdk.launch._project_spec import LaunchProject
  from wandb.sdk.launch.errors import LaunchError
  from wandb.sdk.launch.runner.vertex_runner import VertexRunner, VertexSubmittedRun
label_desc: Use image node_id 2 for calling a global function with example usage: vertex_runner(test_settings) and returns: runner, MagicMock, MagicMock