class_docstr: Pattern that matches to only metric_time specs.
  
  This pattern can be used to check if metric_time has been specified in a query, or to help implement checks that
  only apply to metric_time specs.
code: def match(
      self, candidate_specs: Sequence[InstanceSpec]
  ) -> Sequence[TimeDimensionSpec]:
      spec_set = LinkableSpecSet.from_specs(
          InstanceSpecSet.from_specs(candidate_specs).linkable_specs
      )
      return tuple(
          time_dimension_spec
          for time_dimension_spec in spec_set.time_dimension_specs
          if time_dimension_spec.element_name
          == METRIC_TIME_ELEMENT_NAME
      )
  
file_path: metricflow/metricflow/specs/patterns/metric_time_pattern.py
imports: from __future__ import annotations
  from typing import Sequence
  from dbt_semantic_interfaces.naming.keywords import METRIC_TIME_ELEMENT_NAME
  from typing_extensions import override
  from metricflow.specs.patterns.spec_pattern import SpecPattern
  from metricflow.specs.specs import InstanceSpec, InstanceSpecSet, LinkableSpecSet, TimeDimensionSpec
label_desc: Use image node_id 1 for calling the MetricTimePattern obj's underlying member method code with example usage: obj.match(candidate_specs) and returns: tuple