VibeData dbt runtime — Fabric notebook execution unit: clone the domain repo (Key Vault m2m PAT) and run a list of dbt commands on the official dbt-fabricspark adapter, persisting run_results/manifest to the lakehouse. notebookutils is provided by the Fabric runtime; dbt + dbt-fabricspark are pip-installed by the notebook.
Project description
vibedata-dbt-fabric-notebook
Fabric notebook execution unit for dbt — the dbt counterpart of
vibedata-dlt-fabric-notebook. Clones the domain repo and runs a list of dbt
commands on the official
dbt-fabricspark adapter
(Livy/Spark), persisting run_results.json + manifest.json + dbt.log to the
lakehouse (the dbt audit the runtime-audit read layer reads — the dbt analog of
dlt's finalize()).
Use inside a Fabric notebook
%pip install vibedata-dbt-fabric-notebook dbt-fabricspark>=1.10 -q
from vibedata.dbt.fabric.notebook import clone_domain_repo, run_dbt_commands
repo = clone_domain_repo(REPO_URL, vault_url=VAULT_URL, branch=BRANCH) # KV m2m PAT
run_dbt_commands(
["dbt deps", "dbt build --select +fct_orders --target prod"],
project_dir=f"{repo}/transformation",
)
- Auth: the domain repo is cloned with the m2m GitHub secret
(
domain-github-pat-token) read from Key Vault vianotebookutils— the same slot the dlt runner uses. No OneLake deploy key. - Command list: dbt Core has no "run a list" concept;
run_dbt_commandsis a thin fail-fast loop. Putdbt depsin the list if you need it — the runner never runs it implicitly. - Zero pip deps of its own:
notebookutilsis provided by the Fabric runtime;dbt+dbt-fabricsparkare installed by the notebook cell.
Follow-up
clone_domain_repo here duplicates the dlt runner's clone. They should fold into
one shared, dlt-free *-notebook-core helper — deferred to avoid a refactor of
the working dlt packages (fabric-core currently pulls dlt, so it isn't a
clean shared home). Tracked as a follow-up.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file vibedata_dbt_fabric_notebook-0.1.0.tar.gz.
File metadata
- Download URL: vibedata_dbt_fabric_notebook-0.1.0.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6e29631db8a695fe7dbc1e537f2768a5969fad8030626ee7927fc653364d888f
|
|
| MD5 |
a9afef028bcc3189806e4dc7265de6fb
|
|
| BLAKE2b-256 |
904e4323cc317e6fa2bbee8146392e2fe4b5d95e52d244886d5b35d28103efee
|
File details
Details for the file vibedata_dbt_fabric_notebook-0.1.0-py3-none-any.whl.
File metadata
- Download URL: vibedata_dbt_fabric_notebook-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e38bef7dc80bf7bf8ddb77b36baf9722267fa203282093363343267354362b8b
|
|
| MD5 |
445d5a83eacbb864479e782ceb664647
|
|
| BLAKE2b-256 |
db31969bb747571ca16a17fb0aed850d2ce510f119bef5369df48f30dbd5f1aa
|