class_docstr: A spec pattern that matches based on a configured list of specs.
  
  This is useful for filtering possible group-by-items to ones valid for a query.
code: def match(
      self, candidate_specs: Sequence[InstanceSpec]
  ) -> Sequence[InstanceSpec]:
      return tuple(
          spec for spec in candidate_specs if spec in self._listed_specs
      )
  
file_path: metricflow/metricflow/specs/patterns/match_list_pattern.py
imports: from __future__ import annotations
  from typing import Sequence
  from typing_extensions import override
  from metricflow.specs.patterns.spec_pattern import SpecPattern
  from metricflow.specs.specs import InstanceSpec
label_desc: Use image node_id 2 for calling the MatchListSpecPattern obj's underlying member method code with example usage: obj.match(candidate_specs) and returns: tuple