From d46303fa3d53b1d22e7c6a35a69b5f975708e646 Mon Sep 17 00:00:00 2001 From: Courtney Holcomb Date: Thu, 19 Dec 2024 12:09:21 -0800 Subject: [PATCH] PR feedback --- metricflow-semantics/metricflow_semantics/sql/sql_exprs.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/metricflow-semantics/metricflow_semantics/sql/sql_exprs.py b/metricflow-semantics/metricflow_semantics/sql/sql_exprs.py index 2b8d8e667..b0cb079eb 100644 --- a/metricflow-semantics/metricflow_semantics/sql/sql_exprs.py +++ b/metricflow-semantics/metricflow_semantics/sql/sql_exprs.py @@ -1822,8 +1822,7 @@ def create( # noqa: D102 ) -> SqlCaseExpression: parent_nodes: Tuple[SqlExpressionNode, ...] = () for when, then in when_to_then_exprs.items(): - parent_nodes += (when,) - parent_nodes += (then,) + parent_nodes += (when, then) if else_expr: parent_nodes += (else_expr,)