We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23f2764 commit 1a30b81Copy full SHA for 1a30b81
dbt_docs_to_notion.py
@@ -334,7 +334,7 @@ def main():
334
{
335
"type": "text",
336
"text": {
337
- "content": data['raw_sql'][:2000]
+ "content": data['raw_code'][:2000] if 'raw_code' in data else data['raw_sql'][:2000]
338
}
339
340
],
@@ -362,7 +362,7 @@ def main():
362
363
364
365
- "content": data['compiled_sql'][:2000]
+ "content": data['compiled_code'][:2000] if 'compiled_code' in data else data['compiled_sql'][:2000]
366
367
368
0 commit comments