class_docstr: Describes a query issue where the order-by item does not match one of the queried metrics / group-by-items.
class_docstr_tok: ["Describes","a","query","issue","where","the","order-by","item","does","not","match","one","of","the","queried","metrics","\/","group-by-items","."]
code: def from_parameters(  # noqa: D
      order_by_item_input: ResolverInputForOrderByItem,
      query_resolution_path: MetricFlowQueryResolutionPath,
  ) -> InvalidOrderByItemIssue:
      return InvalidOrderByItemIssue(
          issue_type=MetricFlowQueryIssueType.ERROR,
          parent_issues=(),
          query_resolution_path=query_resolution_path,
          order_by_item_input=order_by_item_input,
      )
  
file_path: metricflow/metricflow/query/issues/parsing/invalid_order.py
imports: from __future__ import annotations
  from dataclasses import dataclass
  from typing_extensions import override
  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
  from metricflow.query.resolver_inputs.query_resolver_inputs import ResolverInputForOrderByItem
label_desc: Use image node_id 1 for calling the InvalidOrderByItemIssue obj's underlying member method code with example usage: obj.from_parameters(order_by_item_input, query_resolution_path) and returns: InvalidOrderByItemIssue