code: def get_command(command_id: str) -> Any:
      certs.cli_cert = certs.default_load(conf.make_master_url())
      authentication.cli_auth = authentication.Authentication(
          conf.make_master_url()
      )
      r = api.get(
          conf.make_master_url(), "api/v1/commands/" + command_id
      )
      assert r.status_code == requests.codes.ok, r.text
      return r.json()["command"]
  
file_path: determined/e2e_tests/tests/command/command.py
imports: import os
  import re
  import subprocess
  from contextlib import contextmanager
  from typing import IO, Any, Iterator, Optional
  import requests
  from determined.common import api
  from determined.common.api import authentication, certs, task_logs
  from tests import api_utils
  from tests import config
label_desc: Use image node_id 3 for calling a global function with example usage: get_command(command_id) and returns: r