code: def specs() -> Sequence[LinkableInstanceSpec]:  # noqa: D
      return (
          # Time dimensions
          TimeDimensionSpec(
              element_name="common_name",
              entity_links=(
                  EntityReference("booking"),
                  EntityReference("listing"),
              ),
              time_granularity=TimeGranularity.DAY,
              date_part=None,
          ),
          TimeDimensionSpec(
              element_name="common_name",
              entity_links=(
                  EntityReference("booking"),
                  EntityReference("listing"),
              ),
              time_granularity=TimeGranularity.DAY,
              date_part=DatePart.MONTH,
          ),
          # Dimensions
          DimensionSpec(
              element_name="common_name",
              entity_links=(
                  (
                      EntityReference("booking"),
                      EntityReference("listing"),
                  )
              ),
          ),
          # Entities
          EntitySpec(
              element_name="common_name",
              entity_links=(
                  EntityReference("booking"),
                  EntityReference("listing"),
              ),
          ),
      )
  
file_path: metricflow/metricflow/test/specs/patterns/test_typed_patterns.py
imports: from __future__ import annotations
  import logging
  from typing import Sequence
  import pytest
  from dbt_semantic_interfaces.call_parameter_sets import DimensionCallParameterSet, EntityCallParameterSet, TimeDimensionCallParameterSet
  from dbt_semantic_interfaces.references import DimensionReference, EntityReference, TimeDimensionReference
  from dbt_semantic_interfaces.type_enums import TimeGranularity
  from dbt_semantic_interfaces.type_enums.date_part import DatePart
  from metricflow.specs.patterns.typed_patterns import DimensionPattern, EntityPattern, TimeDimensionPattern
  from metricflow.specs.specs import DimensionSpec, EntitySpec, LinkableInstanceSpec, TimeDimensionSpec
label_desc: Use image node_id 1 for calling a global function with example usage: specs() and returns: TimeDimensionSpec,  TimeDimensionSpec,  DimensionSpec,  EntitySpec