code: def test_merge_spec_set() -> None:  # noqa: D
      spec_set1 = InstanceSpecSet(
          metric_specs=(MetricSpec(element_name="bookings"),)
      )
      spec_set2 = InstanceSpecSet(
          dimension_specs=(
              DimensionSpec(
                  element_name="is_instant",
                  entity_links=(EntityReference("booking"),),
              ),
          )
      )
  
      assert spec_set1.merge(spec_set2) == InstanceSpecSet(
          metric_specs=(MetricSpec(element_name="bookings"),),
          dimension_specs=(
              DimensionSpec(
                  element_name="is_instant",
                  entity_links=(EntityReference("booking"),),
              ),
          ),
      )
  
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 13 for calling a global function with example usage: test_merge_spec_set() without return types