class_docstr: A run of a training script.
class_docstr_tok: ["A","run","of","a","training","script","."]
docstr: Get the shared primary metric for the list of checkpoints in
  this experiment. If no shared primary metric exists, raises
  ValueError.
docstr_tok: ["Get","the","shared","primary","metric","for","the","list","of","checkpoints","in","this","experiment",".","If","no","shared","primary","metric","exists",",","raises","ValueError","."]
code: def primary_metric(self) -> str:
      """
      Get the shared primary metric for the list of checkpoints in
      this experiment. If no shared primary metric exists, raises
      ValueError.
      """
      return self.checkpoints.primary_metric()
  
imports: import datetime
  import getpass
  import html
  import json
  import math
  import os
  import shlex
  import sys
  from typing import TYPE_CHECKING, Any, Callable, Dict, List, MutableSequence, Optional, Tuple
  from .None import console
  from .checkpoint import Checkpoint, CheckpointList, PrimaryMetric
  from .metadata import parse_rfc3339, rfc3339_datetime
  from .packages import get_imported_packages
  from .system import get_python_version
  from .validate import check_path
  from .version import version
label_desc: Use image node_id 13 for calling the Experiment obj's underlying member method code with example usage: obj.primary_metric() and returns: self