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_config(self):
      config = {
          "direction": self.direction,
          "observations": [
              obs.get_config() for obs in self.get_history()
          ],
      }
  
      return config
  
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 9 for calling the MetricHistory obj's underlying member method code with example usage: obj.get_config() and returns: config