class_docstr: Similar to EntityPathPattern but only matches entities.
  
  Analogous pattern for Entity() in the object builder naming scheme.
class_docstr_tok: ["Similar","to","EntityPathPattern","but","only","matches","entities",".","Analogous","pattern","for","Entity","(",")","in","the","object","builder","naming","scheme","."]
code: def from_call_parameter_set(
      entity_call_parameter_set: EntityCallParameterSet,
  ) -> EntityPattern:  # noqa: D
      return EntityPattern(
          parameter_set=EntityLinkPatternParameterSet.from_parameters(
              fields_to_compare=(
                  ParameterSetField.ELEMENT_NAME,
                  ParameterSetField.ENTITY_LINKS,
              ),
              element_name=entity_call_parameter_set.entity_reference.element_name,
              entity_links=entity_call_parameter_set.entity_path,
          )
      )
  
file_path: metricflow/metricflow/specs/patterns/typed_patterns.py
imports: from __future__ import annotations
  from dataclasses import dataclass
  from typing import List, Sequence
  from dbt_semantic_interfaces.call_parameter_sets import DimensionCallParameterSet, EntityCallParameterSet, TimeDimensionCallParameterSet
  from typing_extensions import override
  from metricflow.specs.patterns.entity_link_pattern import EntityLinkPattern, EntityLinkPatternParameterSet, ParameterSetField
  from metricflow.specs.specs import InstanceSpec, InstanceSpecSet, LinkableInstanceSpec
label_desc: Use image node_id 2 for calling the EntityPattern obj's underlying member method code with example usage: obj.from_call_parameter_set(entity_call_parameter_set) and returns: EntityPattern