class_docstr: Describes when a metric specified as an input to a query does not match any of the known metrics.
class_docstr_tok: ["Describes","when","a","metric","specified","as","an","input","to","a","query","does","not","match","any","of","the","known","metrics","."]
code: def with_path_prefix(
      self, path_prefix: MetricFlowQueryResolutionPath
  ) -> InvalidMetricIssue:
      return InvalidMetricIssue(
          issue_type=self.issue_type,
          parent_issues=tuple(
              issue.with_path_prefix(path_prefix)
              for issue in self.parent_issues
          ),
          query_resolution_path=self.query_resolution_path.with_path_prefix(
              path_prefix
          ),
          metric_suggestions=self.metric_suggestions,
      )
  
file_path: metricflow/metricflow/query/issues/parsing/invalid_metric.py
imports: from __future__ import annotations
  from dataclasses import dataclass
  from typing import Sequence, Tuple
  from typing_extensions import override
  from metricflow.mf_logging.formatting import indent
  from metricflow.mf_logging.pretty_print import mf_pformat
  from metricflow.query.group_by_item.resolution_path import MetricFlowQueryResolutionPath
  from metricflow.query.issues.issues_base import MetricFlowQueryIssueType, MetricFlowQueryResolutionIssue
  from metricflow.query.resolver_inputs.base_resolver_inputs import MetricFlowQueryResolverInput
label_desc: Use image node_id 3 for calling the InvalidMetricIssue obj's underlying member method code with example usage: obj.with_path_prefix(path_prefix) and returns: InvalidMetricIssue