Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
jsolow
/
YFDashboard
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
64f6425
YFDashboard
/
src
/
dbt_data_client.py
Jon Solow
Add dbt client for new repo
e84abc1
7 months ago
raw
Copy download link
history
blame
167 Bytes
import
duckdb
import
os
DUCKDB_PATH = os.path.join(os.path.dirname(__file__),
"dbt_yfdash"
,
"dev.duckdb"
)
def
get_db_conn
():
return
duckdb.connect(DUCKDB_PATH)