Skip to content

Commit

Permalink
Add unique_key to NodeConfig
Browse files Browse the repository at this point in the history
`unique_key` can be a string or a list.
  • Loading branch information
triedandtested-dev committed Sep 27, 2021
1 parent ea772ae commit a7454ca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/dbt/contracts/graph/model_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,7 @@ class NodeConfig(BaseConfig):
CompareBehavior.Exclude),
)
full_refresh: Optional[bool] = None
unique_key: Optional[Union[str, List[str]]] = None
on_schema_change: Optional[str] = 'ignore'

@classmethod
Expand Down

0 comments on commit a7454ca

Please sign in to comment.