code: def test_graceful_trial_termination() -> None:
      config_obj = conf.load_config(
          conf.fixtures_path(
              "no_op/grid-graceful-trial-termination.yaml"
          )
      )
      exp.run_basic_test_with_temp_config(
          config_obj, conf.fixtures_path("no_op"), 2
      )
  
imports: import json
  import subprocess
  import tempfile
  import pytest
  from determined.common import api, util
  from determined.common.api import bindings
  from determined.experimental import Determined
  from tests import api_utils
  from tests import command
  from tests import config
  from tests import experiment
  from tests.api_utils import determined_test_session
  from tests.cluster.test_checkpoints import wait_for_gc_to_finish
label_desc: Use image node_id 9 for calling a global function with example usage: test_graceful_trial_termination() without return types