code: def test_labels() -> None:
      experiment_id = exp.create_experiment(
          conf.fixtures_path("no_op/single-one-short-step.yaml"),
          conf.fixtures_path("no_op"),
          None,
      )
  
      label = "__det_test_dummy_label__"
  
      # Add a label and check that it shows up.
      subprocess.check_call(
          [
              "det",
              "-m",
              conf.make_master_url(),
              "e",
              "label",
              "add",
              str(experiment_id),
              label,
          ]
      )
      output = subprocess.check_output(
          [
              "det",
              "-m",
              conf.make_master_url(),
              "e",
              "describe",
              str(experiment_id),
          ]
      ).decode()
      assert label in output
  
      # Remove the label and check that it doesn't show up.
      subprocess.check_call(
          [
              "det",
              "-m",
              conf.make_master_url(),
              "e",
              "label",
              "remove",
              str(experiment_id),
              label,
          ]
      )
      output = subprocess.check_output(
          [
              "det",
              "-m",
              conf.make_master_url(),
              "e",
              "describe",
              str(experiment_id),
          ]
      ).decode()
      assert label not in output
  
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 6 for calling a global function with example usage: test_labels() without return types