From eecc254d0ae7b5cb87d5c7b66858f8666b5ea679 Mon Sep 17 00:00:00 2001 From: Quigley Malcolm Date: Thu, 3 Aug 2023 09:28:41 -0700 Subject: [PATCH] Add `create_metric` boolean property to unparsed measure objects --- core/dbt/contracts/graph/unparsed.py | 1 + 1 file changed, 1 insertion(+) diff --git a/core/dbt/contracts/graph/unparsed.py b/core/dbt/contracts/graph/unparsed.py index 585ac9cc3e0..52d46b4b5f6 100644 --- a/core/dbt/contracts/graph/unparsed.py +++ b/core/dbt/contracts/graph/unparsed.py @@ -701,6 +701,7 @@ class UnparsedMeasure(dbtClassMixin): agg_params: Optional[MeasureAggregationParameters] = None non_additive_dimension: Optional[UnparsedNonAdditiveDimension] = None agg_time_dimension: Optional[str] = None + create_metric: bool = False @dataclass