From 3b491915d2ecf989afaa6e04bb5ad4ffbe968055 Mon Sep 17 00:00:00 2001 From: AlexLA92 Date: Fri, 15 Sep 2023 16:22:32 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20make=20code=20more=20generic?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dbt_docs_to_notion.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbt_docs_to_notion.py b/dbt_docs_to_notion.py index 69f1b33..821c394 100644 --- a/dbt_docs_to_notion.py +++ b/dbt_docs_to_notion.py @@ -150,7 +150,7 @@ def main(): ##### create / update database records ##### for model_name, data in sorted(list(models.items()), reverse=True): - if (model_records_to_write == ['all'] or model_name in model_records_to_write) and ("dim_" in model_name or "fct_" in model_name) and model_name == "dim_sites_new" : + if (model_records_to_write == ['all'] or model_name in model_records_to_write) and ("dim_" in model_name or "fct_" in model_name) : # form record object column_descriptions = {name: metadata['description'] for name, metadata