From 1ffb3d44093ad2e6b23e8f724b234edb0999801e Mon Sep 17 00:00:00 2001 From: Gerda Shank Date: Thu, 9 Jan 2025 14:50:14 -0500 Subject: [PATCH] Re-cast definition of unique_key in SnapshotConfig --- core/dbt/artifacts/resources/v1/snapshot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/dbt/artifacts/resources/v1/snapshot.py b/core/dbt/artifacts/resources/v1/snapshot.py index 976c93a4d60..c162c244808 100644 --- a/core/dbt/artifacts/resources/v1/snapshot.py +++ b/core/dbt/artifacts/resources/v1/snapshot.py @@ -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