class_docstr: Resolves group-by items for potentially ambiguous inputs that are specified in queries / filters.
code: def __init__(  # noqa: D
      self,
      manifest_lookup: SemanticManifestLookup,
      resolution_dag: GroupByItemResolutionDag,
  ) -> None:
      self._manifest_lookup = manifest_lookup
      self._resolution_dag = resolution_dag
  
imports: from __future__ import annotations
  import logging
  from dataclasses import dataclass
  from typing import Optional, Tuple
  from dbt_semantic_interfaces.call_parameter_sets import TimeDimensionCallParameterSet
  from dbt_semantic_interfaces.naming.keywords import METRIC_TIME_ELEMENT_NAME
  from dbt_semantic_interfaces.references import TimeDimensionReference
  from dbt_semantic_interfaces.type_enums import TimeGranularity
  from metricflow.mf_logging.formatting import indent
  from metricflow.mf_logging.pretty_print import mf_pformat
  from metricflow.model.semantic_manifest_lookup import SemanticManifestLookup
  from metricflow.naming.object_builder_scheme import ObjectBuilderNamingScheme
  from metricflow.query.group_by_item.candidate_push_down.push_down_visitor import PushDownResult, _PushDownGroupByItemCandidatesVisitor
  from metricflow.query.group_by_item.resolution_dag.dag import GroupByItemResolutionDag, ResolutionDagSinkNode
  from metricflow.query.group_by_item.resolution_path import MetricFlowQueryResolutionPath
  from metricflow.query.issues.group_by_item_resolver.ambiguous_group_by_item import AmbiguousGroupByItemIssue
  from metricflow.query.issues.issues_base import MetricFlowQueryResolutionIssueSet
  from metricflow.query.suggestion_generator import QueryItemSuggestionGenerator
  from metricflow.specs.patterns.base_time_grain import BaseTimeGrainPattern
  from metricflow.specs.patterns.spec_pattern import SpecPattern
  from metricflow.specs.patterns.typed_patterns import TimeDimensionPattern
  from metricflow.specs.specs import LinkableInstanceSpec, LinkableSpecSet
label_desc: Use image node_id 1 to create a new GroupByItemResolver object  with example: obj = GroupByItemResolver(manifest_lookup, resolution_dag)