code: def test_dimension_without_entity_links(
      dimension_spec: DimensionSpec,
  ) -> None:  # noqa: D
      assert dimension_spec.without_entity_links == DimensionSpec(
          element_name="platform", entity_links=()
      )
  
imports: from __future__ import annotations
  from typing import Sequence
  import pytest
  from dbt_semantic_interfaces.type_enums.time_granularity import TimeGranularity
  from metricflow.specs.specs import DimensionSpec, EntityReference, EntitySpec, InstanceSpec, InstanceSpecSet, LinkableInstanceSpec, LinklessEntitySpec, MeasureSpec, MetricSpec, TimeDimensionSpec
label_desc: Use image node_id 6 for calling a global function with example usage: test_dimension_without_entity_links(dimension_spec) without return types