From 905aebf7fb03f8ac8acdabf9e2a04a9c572f0750 Mon Sep 17 00:00:00 2001 From: Courtney Holcomb Date: Mon, 22 Jan 2024 17:11:22 -0800 Subject: [PATCH] Expose min_max_only param on explain_get_dimension_values --- metricflow/engine/metricflow_engine.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/metricflow/engine/metricflow_engine.py b/metricflow/engine/metricflow_engine.py index 0c5d42585b..8a4c5fa224 100644 --- a/metricflow/engine/metricflow_engine.py +++ b/metricflow/engine/metricflow_engine.py @@ -683,6 +683,7 @@ def explain_get_dimension_values( # noqa: D group_by: Optional[GroupByParameter] = None, time_constraint_start: Optional[datetime.datetime] = None, time_constraint_end: Optional[datetime.datetime] = None, + min_max_only: bool = False, ) -> MetricFlowExplainResult: assert not ( get_group_by_values and group_by @@ -695,6 +696,7 @@ def explain_get_dimension_values( # noqa: D group_by=(group_by,) if group_by else None, time_constraint_start=time_constraint_start, time_constraint_end=time_constraint_end, + min_max_only=min_max_only, query_type=MetricFlowQueryType.DIMENSION_VALUES, ) )