code: def test_launch_sweep_scheduler_construct_entrypoint(sweep_config):
      queue = "queue"
      project = "test"
  
      args = construct_scheduler_args(
          return_job=False,
          sweep_config=sweep_config,
          queue=queue,
          project=project,
          author="author",
      )
  
      gold_args = [
          "--queue",
          f"{queue!r}",
          "--project",
          f"{project!r}",
          "--author",
          "'author'",
      ]
      if sweep_config.get("job"):
          gold_args += ["--job", "'job:v9'"]
      else:
          gold_args += ["--image_uri", "image:latest"]
  
      assert args == gold_args
  
imports: import asyncio
  from typing import Dict
  from unittest.mock import Mock, patch
  import pytest
  import wandb
  from wandb.apis import internal, public
  from wandb.errors import CommError
  from wandb.sdk.launch.sweeps import SchedulerError, load_scheduler
  from wandb.sdk.launch.sweeps.scheduler import RunState, Scheduler, SchedulerState, SweepRun
  from wandb.sdk.launch.sweeps.scheduler_sweep import SweepScheduler
  from wandb.sdk.launch.sweeps.utils import construct_scheduler_args
  from .test_wandb_sweep import VALID_SWEEP_CONFIGS_MINIMAL
label_desc: Use image node_id 17 for calling a global function with example usage: test_launch_sweep_scheduler_construct_entrypoint(sweep_config) without return types