class_docstr: Output the group-by-items relevant to the query and based on the inputs.
class_docstr_tok: ["Output","the","group-by-items","relevant","to","the","query","and","based","on","the","inputs","."]
code: def displayed_properties(self) -> List[DisplayedProperty]:
      properties = list(super().displayed_properties)
  
      if len(self.metrics_in_query) > 0:
          properties.append(
              DisplayedProperty(
                  key="metrics_in_query",
                  value=[
                      metric_reference.element_name
                      for metric_reference in self.metrics_in_query
                  ],
              )
          )
  
      if len(self.where_filter_intersection.where_filters) > 0:
          properties.append(
              DisplayedProperty(
                  key="where_filter",
                  value=[
                      where_filter.where_sql_template
                      for where_filter in self.where_filter_intersection.where_filters
                  ],
              )
          )
  
      return properties
  
imports: from __future__ import annotations
  from typing import List, Sequence, Union
  from dbt_semantic_interfaces.protocols import WhereFilterIntersection
  from dbt_semantic_interfaces.references import MetricReference
  from typing_extensions import override
  from metricflow.dag.id_prefix import IdPrefix
  from metricflow.dag.mf_dag import DisplayedProperty
  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.metric_resolution_node import MetricGroupByItemResolutionNode
  from metricflow.query.group_by_item.resolution_dag.resolution_nodes.no_metrics_query_source_node import NoMetricsGroupByItemSourceNode
  from metricflow.visitor import VisitorOutputT
label_desc: Use image node_id 7 for calling the QueryGroupByItemResolutionNode obj's underlying member method code with example usage: obj.displayed_properties() and returns: properties