class_docstr: Represents a recorded metric value.
class_docstr_tok: ["Represents","a","recorded","metric","value","."]
code: def string(
      cls,
      name: Iterable[str],
      value: str,
      global_step: int,
      *,
      walltime=None,
  ):
      return cls(
          name=name,
          value=value,
          global_step=global_step,
          typ=RecordType.string,
          walltime=walltime,
      )
  
imports: import time
  from dataclasses import dataclass
  from enum import Enum
  from typing import Any, Iterable, Iterator, Optional, Tuple, Union
label_desc: Use image node_id 5 for calling the MetricRecord obj's underlying member method code with example usage: obj.string(cls, name, value, global_step) and returns: cls