class_docstr: An object that represents a single run of a generator.
  
  This object is created each time the ``gen`` method of a generator is
  called. It stores the arms and (optionally) weights that were
  generated by the run. When we add a generator run to a trial, its
  arms and weights will be merged with those from previous generator
  runs that were already attached to the trial.
class_docstr_tok: ["An","object","that","represents","a","single","run","of","a","generator",".","This","object","is","created","each","time","the","``","gen","``","method","of","a","generator","is","called",".","It","stores","the","arms","and","(","optionally",")","weights","that","were","generated","by","the","run",".","When","we","add","a","generator","run","to","a","trial",",","its","arms","and","weights","will","be","merged","with","those","from","previous","generator","runs","that","were","already","attached","to","the","trial","."]
docstr: Unique (within a given experiment) identifier for a GeneratorRun.
docstr_tok: ["Unique","(","within","a","given","experiment",")","identifier","for","a","GeneratorRun","."]
code: def _unique_id(self) -> str:
      """Unique (within a given experiment) identifier for a GeneratorRun."""
      if self.index is not None:
          return str(self.index) + str(self.time_created)
      else:
          return str(self) + str(self.time_created)
  
imports: from __future__ import annotations
  import copy
  from collections import OrderedDict
  from dataclasses import dataclass
  from datetime import datetime
  from enum import Enum
  from logging import Logger
  from typing import Any, Dict, List, MutableMapping, Optional, Set, Tuple
  import pandas
  from ax.core.arm import Arm
  from ax.core.optimization_config import OptimizationConfig
  from ax.core.search_space import SearchSpace
  from ax.core.types import TCandidateMetadata, TGenMetadata, TModelPredict, TModelPredictArm
  from ax.exceptions.core import UnsupportedError
  from ax.utils.common.base import Base, SortableBase
  from ax.utils.common.logger import get_logger
  from ax.utils.common.typeutils import not_none
label_desc: Use image node_id 22 for calling the GeneratorRun obj's underlying member method code with example usage: obj._unique_id() and returns: unknown, unknown