Skip to content

Commit

Permalink
CT-1922: Fix type annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
peterallenwebb committed Apr 7, 2023
1 parent d2d0a30 commit fa826e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/dbt/adapters/base/impl.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fa826e0

Please sign in to comment.