code: def _single_update(
      job_id: str,
      session: api.Session,
      priority: str = "",
      weight: str = "",
      resource_pool: str = "",
      behind_of: str = "",
      ahead_of: str = "",
  ) -> None:
      update = bindings.v1QueueControl(
          jobId=job_id,
          priority=int(priority) if priority != "" else None,
          weight=int(weight) if weight != "" else None,
          resourcePool=resource_pool if resource_pool != "" else None,
          behindOf=behind_of if behind_of != "" else None,
          aheadOf=ahead_of if ahead_of != "" else None,
      )
      bindings.post_UpdateJobQueue(
          session,
          body=bindings.v1UpdateJobQueueRequest(updates=[update]),
      )
  
file_path: determined/harness/determined/cli/job.py
imports: import datetime
  from argparse import ONE_OR_MORE, Namespace
  from typing import Any, List, Union
  from determined import cli
  from determined.cli import render
  from determined.common import api, util
  from determined.common.api import authentication, bindings
  from determined.common.declarative_argparse import Arg, Cmd, Group
  from determined.common.util import parse_protobuf_timestamp
label_desc: Use image node_id 5 for calling a global function with example usage: _single_update(job_id, session, priority, weight, resource_pool, behind_of, ahead_of) without return types