Jon Solow commited on
Commit
e84abc1
·
1 Parent(s): 96d7dde

Add dbt client for new repo

Browse files
Files changed (1) hide show
  1. src/dbt_data_client.py +8 -0
src/dbt_data_client.py ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ import duckdb
2
+ import os
3
+
4
+ DUCKDB_PATH = os.path.join(os.path.dirname(__file__), "dbt_yfdash", "dev.duckdb")
5
+
6
+
7
+ def get_db_conn():
8
+ return duckdb.connect(DUCKDB_PATH)