code: def set_prio_ntsc(
      session: api.Session, typ: api.NTSC_Kind, ntsc_id: str, prio: int
  ) -> None:
      if typ == api.NTSC_Kind.notebook:
          bindings.post_SetNotebookPriority(
              session,
              notebookId=ntsc_id,
              body=bindings.v1SetNotebookPriorityRequest(priority=prio),
          )
      elif typ == api.NTSC_Kind.tensorboard:
          bindings.post_SetTensorboardPriority(
              session,
              tensorboardId=ntsc_id,
              body=bindings.v1SetTensorboardPriorityRequest(
                  priority=prio
              ),
          )
      elif typ == api.NTSC_Kind.shell:
          bindings.post_SetShellPriority(
              session,
              shellId=ntsc_id,
              body=bindings.v1SetShellPriorityRequest(priority=prio),
          )
      elif typ == api.NTSC_Kind.command:
          bindings.post_SetCommandPriority(
              session,
              commandId=ntsc_id,
              body=bindings.v1SetCommandPriorityRequest(priority=prio),
          )
      else:
          raise ValueError("unknown type")
  
imports: import uuid
  from typing import Callable, Optional, Sequence, TypeVar
  import pytest
  from determined.common import api
  from determined.common.api import authentication, bindings, certs, errors
  from tests import config
label_desc: Use image node_id 9 for calling a global function with example usage: set_prio_ntsc(session, typ, ntsc_id, prio) without return types