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

Commit

Permalink
✨ focus on dim sites new
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexLA92 committed Sep 15, 2023
1 parent 32cadf3 commit fb40b1b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 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) :
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" :
# form record object
column_descriptions = {name: metadata['description']
for name, metadata
Expand Down Expand Up @@ -206,7 +206,7 @@ def main():
[
{
"type": "text",
"text": {
"text": {
"content": col_name[:2000]
},
"plain_text": col_name[:2000]
Expand Down

0 comments on commit fb40b1b

Please # to comment.