class_docstr: An object which handles communicating with metadata db through MLMD.
class_docstr_tok: ["An","object","which","handles","communicating","with","metadata","db","through","MLMD","."]
code: def report(self, eval_dictionary, model_dir):
      logging.info("Storing the following evaluation dictionary,")
      logging.info(eval_dictionary)
      logging.info("For the model in the following model dictionary,")
      logging.info(model_dir)
      trial_id = int(os.path.basename(model_dir))
      id_, trial_run = self._trial_id_to_run_id[trial_id]
      trial_run.id = id_
      trial_run.properties["state"].string_value = "COMPLETED"
      trial_run.properties["evaluation"].string_value = json.dumps(
          eval_dictionary
      )
      self._store.put_executions([trial_run])
      del self._trial_id_to_run_id[trial_id]
      return
  
file_path: model_search/model_search/metadata/ml_metadata_db.py
imports: import json
  import os
  import random
  from absl import flags
  from absl import logging
  from model_search.metadata import metadata
  from model_search.metadata import trial
  from ml_metadata import metadata_store
  from ml_metadata.proto import metadata_store_pb2
label_desc: Use image node_id 7 for calling the MLMetaData obj's underlying member method code with example usage: obj.report(eval_dictionary, model_dir) without return types