class_docstr: A validation rule that runs after all query inputs have been resolved to specs.
class_docstr_tok: ["A","validation","rule","that","runs","after","all","query","inputs","have","been","resolved","to","specs","."]
code: def _get_metric(self, metric_reference: MetricReference) -> Metric:
      return self._manifest_lookup.metric_lookup.get_metric(
          metric_reference
      )
  
file_path: metricflow/metricflow/query/validation_rules/base_validation_rule.py
imports: from __future__ import annotations
  from abc import ABC, abstractmethod
  from typing import Sequence
  from dbt_semantic_interfaces.protocols import Metric, WhereFilterIntersection
  from dbt_semantic_interfaces.references import MetricReference
  from metricflow.model.semantic_manifest_lookup import SemanticManifestLookup
  from metricflow.query.group_by_item.resolution_path import MetricFlowQueryResolutionPath
  from metricflow.query.issues.issues_base import MetricFlowQueryResolutionIssueSet
  from metricflow.query.resolver_inputs.query_resolver_inputs import ResolverInputForQuery
label_desc: Use image node_id 2 for calling the PostResolutionQueryValidationRule obj's underlying member method code with example usage: obj._get_metric(metric_reference) and returns: self