class_docstr: Represents a path in the group-by-item resolution DAG.
class_docstr_tok: ["Represents","a","path","in","the","group-by-item","resolution","DAG","."]
docstr: Creates a single element path with the given node.
docstr_tok: ["Creates","a","single","element","path","with","the","given","node","."]
code: def from_path_item(
      node: GroupByItemResolutionNode,
  ) -> MetricFlowQueryResolutionPath:
      """Creates a single element path with the given node."""
      return MetricFlowQueryResolutionPath(
          resolution_path_nodes=(node,),
      )
  
file_path: metricflow/metricflow/query/group_by_item/resolution_path.py
imports: from __future__ import annotations
  from dataclasses import dataclass
  from typing import Tuple
  from typing_extensions import override
  from metricflow.mf_logging.formatting import indent
  from metricflow.query.group_by_item.path_prefixable import PathPrefixable
  from metricflow.query.group_by_item.resolution_dag.resolution_nodes.base_node import GroupByItemResolutionNode
label_desc: Use image node_id 6 for calling the MetricFlowQueryResolutionPath obj's underlying member method code with example usage: obj.from_path_item(node) and returns: MetricFlowQueryResolutionPath