From fa826e01d86c3ae1c2a55e100afce225453c4584 Mon Sep 17 00:00:00 2001 From: Peter Allen Webb Date: Fri, 7 Apr 2023 14:10:17 -0400 Subject: [PATCH] CT-1922: Fix type annotation --- core/dbt/adapters/base/impl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/dbt/adapters/base/impl.py b/core/dbt/adapters/base/impl.py index d91b7fffc27..a20842be77c 100644 --- a/core/dbt/adapters/base/impl.py +++ b/core/dbt/adapters/base/impl.py @@ -1309,7 +1309,7 @@ def _parse_model_constraint(cls, raw_constraint: Dict[str, Any]) -> ModelLevelCo @available @classmethod - def render_raw_model_constraints(cls, raw_constraints: Dict[str, Any]) -> str: + def render_raw_model_constraints(cls, raw_constraints: List[Dict[str, Any]]) -> List[str]: return [c for c in map(cls.render_raw_model_constraint, raw_constraints) if c is not None] @classmethod