class_docstr: Describe the location of a where filter.
  
  When describing a query, the metric references are the metrics in the query.
  When describing a metric, the metric reference is just the metric.
  
  Since this is used to resolve valid group-by items for a where filter, this is sufficient as the valid group-by
  items depend only on the metrics queried.
code: def for_metric(
      metric_reference: MetricReference,
  ) -> WhereFilterLocation:  # noqa: D
      return WhereFilterLocation(metric_references=(metric_reference,))
  
file_path: metricflow/metricflow/query/group_by_item/filter_spec_resolution/filter_location.py
imports: from __future__ import annotations
  from dataclasses import dataclass
  from typing import Sequence, Tuple
  from dbt_semantic_interfaces.references import MetricReference
  from more_itertools import is_sorted
label_desc: Use image node_id 3 for calling the WhereFilterLocation obj's underlying member method code with example usage: obj.for_metric(metric_reference) and returns: WhereFilterLocation