class_docstr: Outputs group-by-items relevant to a metric based on the input group-by-items.
class_docstr_tok: ["Outputs","group-by-items","relevant","to","a","metric","based","on","the","input","group-by-items","."]
docstr: Initializer.
  
  Args:
      metric_reference: The metric that this represents.
      metric_input_location: If this is an input metric for a derived metric, the location within the derived
      metric definition.
      parent_nodes: The parent nodes of this metric.
docstr_tok: ["Initializer",".","Args",":","metric_reference",":","The","metric","that","this","represents",".","metric_input_location",":","If","this","is","an","input","metric","for","a","derived","metric",",","the","location","within","the","derived","metric","definition",".","parent_nodes",":","The","parent","nodes","of","this","metric","."]
code: def __init__(  # noqa: D
      self,
      metric_reference: MetricReference,
      metric_input_location: Optional[InputMetricDefinitionLocation],
      parent_nodes: Sequence[Union[MeasureGroupByItemSourceNode, Self]],
  ) -> None:
      """Initializer.
  
      Args:
          metric_reference: The metric that this represents.
          metric_input_location: If this is an input metric for a derived metric, the location within the derived
          metric definition.
          parent_nodes: The parent nodes of this metric.
      """
      self._metric_reference = metric_reference
      self._metric_input_location = metric_input_location
      self._parent_nodes = parent_nodes
      super().__init__()
  
imports: from __future__ import annotations
  from typing import List, Optional, Sequence, Union
  from dbt_semantic_interfaces.references import MetricReference
  from typing_extensions import Self, override
  from metricflow.dag.id_prefix import IdPrefix
  from metricflow.dag.mf_dag import DisplayedProperty
  from metricflow.query.group_by_item.resolution_dag.input_metric_location import InputMetricDefinitionLocation
  from metricflow.query.group_by_item.resolution_dag.resolution_nodes.base_node import GroupByItemResolutionNode, GroupByItemResolutionNodeVisitor
  from metricflow.query.group_by_item.resolution_dag.resolution_nodes.measure_source_node import MeasureGroupByItemSourceNode
  from metricflow.visitor import VisitorOutputT
label_desc: Use image node_id 1 to create a new MetricGroupByItemResolutionNode object from inherited base classes: GroupByItemResolutionNode with example: obj = MetricGroupByItemResolutionNode(metric_reference, metric_input_location, parent_nodes)