code: def list_trial_metrics(self, study_name, trial_id):
      url = "{}/suggestion/v1/studies/{}/trials/{}/metrics".format(
          self.endpoint, study_name
      )
      response = requests.get(url)
      trial_metrics = []
  
      if response.ok:
          dicts = response.json()["data"]
          for dict in dicts:
              trial_metric = TrialMetric.from_dict(dict)
              trial_metrics.append(trial_metric)
  
      return trial_metrics
  
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 9 for calling the AdvisorClient obj's underlying member method code with example usage: obj.list_trial_metrics(study_name, trial_id) and returns: trial_metrics