Skip to content
This repository has been archived by the owner on Jan 5, 2024. It is now read-only.

Commit

Permalink
✨ make code more generic
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexLA92 committed Sep 15, 2023
1 parent fb40b1b commit 3b49191
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dbt_docs_to_notion.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3b49191

Please # to comment.