code: def test_time_dimension_match_without_grain_specified(
      specs: Sequence[LinkableInstanceSpec],
  ) -> None:  # noqa: D
      pattern = EntityLinkPattern(
          EntityLinkPatternParameterSet.from_parameters(
              element_name=METRIC_TIME_ELEMENT_NAME,
              entity_links=(),
              time_granularity=None,
              date_part=None,
              fields_to_compare=(
                  ParameterSetField.ELEMENT_NAME,
                  ParameterSetField.ENTITY_LINKS,
              ),
          )
      )
  
      assert tuple(pattern.match(specs)) == (
          MTD_SPEC_WEEK,
          MTD_SPEC_MONTH,
          MTD_SPEC_YEAR,
      )
  
imports: from __future__ import annotations
  import logging
  from dataclasses import asdict
  from typing import Sequence
  import pytest
  from dbt_semantic_interfaces.naming.keywords import METRIC_TIME_ELEMENT_NAME
  from dbt_semantic_interfaces.references import EntityReference
  from dbt_semantic_interfaces.type_enums import TimeGranularity
  from dbt_semantic_interfaces.type_enums.date_part import DatePart
  from metricflow.specs.patterns.entity_link_pattern import EntityLinkPattern, EntityLinkPatternParameterSet, ParameterSetField
  from metricflow.specs.specs import DimensionSpec, EntitySpec, LinkableInstanceSpec, TimeDimensionSpec
  from metricflow.test.time.metric_time_dimension import MTD_SPEC_MONTH, MTD_SPEC_WEEK, MTD_SPEC_YEAR
label_desc: Use image node_id 6 for calling a global function with example usage: test_time_dimension_match_without_grain_specified(specs) without return types