class_docstr: Matches MetricSpecs that have the given metric_reference.
code: def match(
      self, candidate_specs: Sequence[InstanceSpec]
  ) -> Sequence[MetricSpec]:
      spec_set = InstanceSpecSet.from_specs(candidate_specs)
      return tuple(
          metric_name
          for metric_name in spec_set.metric_specs
          if metric_name.reference == self.metric_reference
      )
  
file_path: metricflow/metricflow/specs/patterns/metric_pattern.py
imports: from __future__ import annotations
  from dataclasses import dataclass
  from typing import Sequence
  from dbt_semantic_interfaces.references import MetricReference
  from typing_extensions import override
  from metricflow.specs.patterns.spec_pattern import SpecPattern
  from metricflow.specs.specs import InstanceSpec, InstanceSpecSet, MetricSpec
label_desc: Use image node_id 1 for calling the MetricSpecPattern obj's underlying member method code with example usage: obj.match(candidate_specs) and returns: tuple