class_docstr: Adds integration with ya, helps in finding dependencies
class_docstr_tok: ["Adds","integration","with","ya",",","helps","in","finding","dependencies"]
code: def get_metric_value(self, name, default=None):
      from library.python.pytest.plugins.metrics import test_metrics
  
      res = test_metrics.get(self.get_test_item_node_id(), {}).get(name)
      if res is None:
          return default
      return res
  
imports: import os
  import sys
  import logging
  import json
  import six
  from .tools import to_str
  from .external import ExternalDataInfo
label_desc: Use image node_id 22 for calling the Ya obj's underlying member method code with example usage: obj.get_metric_value(name, default) and returns: res, default