code: def __get_simple_model_user_semantic_model_references_by_type(
      semantic_manifest_lookup: SemanticManifestLookup,
  ) -> Dict[EntityType, SemanticModelReference]:
      """Helper to get a set of semantic models with the `user` identifier organized by identifier type."""
      foreign_user_semantic_model = semantic_manifest_lookup.semantic_model_lookup.get_by_reference(
          SemanticModelReference("listings_latest")
      )
      primary_user_semantic_model = semantic_manifest_lookup.semantic_model_lookup.get_by_reference(
          SemanticModelReference("users_latest")
      )
      unique_user_semantic_model = semantic_manifest_lookup.semantic_model_lookup.get_by_reference(
          SemanticModelReference("companies")
      )
  
      assert (
          foreign_user_semantic_model
      ), "Could not find `listings_latest` semantic model in simple model!"
      assert (
          primary_user_semantic_model
      ), "Could not find `users_latest` semantic model in simple model!"
      assert (
          unique_user_semantic_model
      ), "Could not find `companies` semantic model in simple model!"
  
      return {
          EntityType.FOREIGN: foreign_user_semantic_model.reference,
          EntityType.PRIMARY: primary_user_semantic_model.reference,
          EntityType.UNIQUE: unique_user_semantic_model.reference,
      }
  
file_path: metricflow/metricflow/test/model/semantics/test_semantic_model_join_evaluator.py
imports: from __future__ import annotations
  from typing import Dict, Sequence
  from dbt_semantic_interfaces.enum_extension import assert_values_exhausted
  from dbt_semantic_interfaces.protocols.entity import EntityType
  from dbt_semantic_interfaces.references import EntityReference, SemanticModelReference
  from metricflow.model.semantic_manifest_lookup import SemanticManifestLookup
  from metricflow.model.semantics.semantic_model_join_evaluator import SemanticModelEntityJoin, SemanticModelEntityJoinType, SemanticModelJoinEvaluator, SemanticModelLink
  from metricflow.test.fixtures.model_fixtures import ConsistentIdObjectRepository
label_desc: Use image node_id 3 for calling a global function with example usage: __get_simple_model_user_semantic_model_references_by_type(semantic_manifest_lookup) and returns: dict