code: def simple_model_spec_resolver(  # noqa: D
      simple_semantic_manifest_lookup: SemanticManifestLookup,
  ) -> ValidLinkableSpecResolver:
      return ValidLinkableSpecResolver(
          semantic_manifest=simple_semantic_manifest_lookup.semantic_manifest,
          semantic_model_lookup=simple_semantic_manifest_lookup.semantic_model_lookup,
          max_entity_links=MAX_JOIN_HOPS,
      )
  
file_path: metricflow/metricflow/test/model/semantics/test_linkable_spec_resolver.py
imports: from __future__ import annotations
  import logging
  import pytest
  from _pytest.fixtures import FixtureRequest
  from dbt_semantic_interfaces.references import MetricReference
  from metricflow.model.semantic_manifest_lookup import SemanticManifestLookup
  from metricflow.model.semantics.linkable_element_properties import LinkableElementProperties
  from metricflow.model.semantics.linkable_spec_resolver import ValidLinkableSpecResolver
  from metricflow.model.semantics.semantic_model_join_evaluator import MAX_JOIN_HOPS
  from metricflow.test.fixtures.setup_fixtures import MetricFlowTestSessionState
  from metricflow.test.snapshot_utils import assert_linkable_element_set_snapshot_equal
label_desc: Use image node_id 1 for calling a global function with example usage: simple_model_spec_resolver(simple_semantic_manifest_lookup) and returns: ValidLinkableSpecResolver