code: def to_json(self):
      return {
          "id": self.id,
          "trial_id": self.trial_id,
          "training_step": self.training_step,
          "objective_value": self.objective_value
          # "created_time": self.created_time,
          # "updated_time": self.updated_time
      }
  
file_path: AutoGL/autogl/module/hpo/suggestion/models.py
imports: from __future__ import unicode_literals
label_desc: Use image node_id 3 for calling the TrialMetric obj's underlying member method code with example usage: obj.to_json() and returns: dict