class_docstr: Record of multiple executions of a single metric.
  
  It contains a collection of `MetricObservation` instances.
  
  Args:
      direction: String. The direction of the metric to optimize. The value
          should be "min" or "max".
class_docstr_tok: ["Record","of","multiple","executions","of","a","single","metric",".","It","contains","a","collection","of","`","MetricObservation","`","instances",".","Args",":","direction",":","String",".","The","direction","of","the","metric","to","optimize",".","The","value","should","be","``","min","''","or","``","max","''","."]
code: def get_history(self):
      return sorted(
          self._observations.values(), key=lambda obs: obs.step
      )
  
imports: import inspect
  import numpy
  import six
  from keras_tuner import protos
  from keras_tuner.api_export import keras_tuner_export
  from keras_tuner.backend import keras
label_desc: Use image node_id 5 for calling the MetricHistory obj's underlying member method code with example usage: obj.get_history() and returns: sorted