code: def from_config(
      cls, config, meta: CommonMetadata = None, tensorizers=None
  ):
      # TODO: add file channel
      return cls([ConsoleChannel()])
  
file_path: pytext/pytext/metric_reporters/pairwise_ranking_metric_reporter.py
imports: from pytext.data import CommonMetadata
  from pytext.metrics import compute_pairwise_ranking_metrics
  from .channel import ConsoleChannel
  from .metric_reporter import MetricReporter
label_desc: Use image node_id 1 for calling the PairwiseRankingMetricReporter obj's underlying member method code with example usage: obj.from_config(cls, config, meta, tensorizers) and returns: cls