code: def create_trial_metric(
      self, study_name, trial_id, training_step, objective_value
  ):
      url = "{}/suggestion/v1/studies/{}/trials/{}/metrics".format(
          self.endpoint, study_name, trial_id
      )
      request_data = {
          "training_step": training_step,
          "objective_value": objective_value,
      }
      response = requests.post(url, json=request_data)
  
      study = None
      if response.ok:
          trial_metric = TrialMetric.from_dict(response.json()["data"])
  
      return trial_metric
  
imports: import os
  import json
  import requests
  from .model import Study
  from .model import Trial
  from .model import TrialMetric
label_desc: Use image node_id 12 for calling the AdvisorClient obj's underlying member method code with example usage: obj.create_trial_metric(study_name, trial_id, training_step, objective_value) and returns: trial_metric