Skip to content

Commit

Permalink
Re-cast definition of unique_key in SnapshotConfig (#11205)
Browse files Browse the repository at this point in the history
  • Loading branch information
gshank authored Jan 9, 2025
1 parent b414ef2 commit e4d5a4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/dbt/artifacts/resources/v1/snapshot.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class SnapshotMetaColumnNames(dbtClassMixin):
class SnapshotConfig(NodeConfig):
materialized: str = "snapshot"
strategy: Optional[str] = None
unique_key: Optional[Union[str, List[str]]] = None
unique_key: Union[str, List[str], None] = None
target_schema: Optional[str] = None
target_database: Optional[str] = None
updated_at: Optional[str] = None
Expand Down

0 comments on commit e4d5a4e

Please sign in to comment.