docstr: Similar to element_specs_for_metrics(), but as a set with more context.
docstr_tok: ["Similar","to","element_specs_for_metrics","(",")",",","but","as","a","set","with","more","context","."]
code: def linkable_set_for_metrics(
      self,
      metric_references: Sequence[MetricReference],
      with_any_property: FrozenSet[
          LinkableElementProperties
      ] = LinkableElementProperties.all_properties(),
      without_any_property: FrozenSet[
          LinkableElementProperties
      ] = frozenset(),
  ) -> LinkableElementSet:
      """Similar to element_specs_for_metrics(), but as a set with more context."""
      return self._linkable_spec_resolver.get_linkable_elements_for_metrics(
          metric_references=metric_references,
          with_any_of=with_any_property,
          without_any_of=without_any_property,
      )
  
imports: from __future__ import annotations
  import logging
  from typing import Dict, FrozenSet, Optional, Sequence, Set
  from dbt_semantic_interfaces.enum_extension import assert_values_exhausted
  from dbt_semantic_interfaces.protocols.metric import Metric, MetricInputMeasure, MetricType
  from dbt_semantic_interfaces.protocols.semantic_manifest import SemanticManifest
  from dbt_semantic_interfaces.references import MeasureReference, MetricReference
  from metricflow.errors.errors import DuplicateMetricError, MetricNotFoundError, NonExistentMeasureError
  from metricflow.model.semantics.linkable_element_properties import LinkableElementProperties
  from metricflow.model.semantics.linkable_spec_resolver import LinkableElementSet, ValidLinkableSpecResolver
  from metricflow.model.semantics.semantic_model_join_evaluator import MAX_JOIN_HOPS
  from metricflow.model.semantics.semantic_model_lookup import SemanticModelLookup
  from metricflow.protocols.semantics import MetricAccessor
  from metricflow.specs.specs import LinkableInstanceSpec
label_desc: Use image node_id 5 for calling the MetricLookup obj's underlying member method code with example usage: obj.linkable_set_for_metrics(metric_references, with_any_property, without_any_property) and returns: self