dagster-dex
Let dex read your Dagster asset graph the way it reads a dbt project: keys, joins, sources, semantics, drift.
pip install dagster-dex
What it finds, and how it is kept honest
dex reports where a warehouse has drifted from the structure a project declares. dagster-dex makes a Dagster asset graph readable the same way, without the graph having to pretend to be a dbt project first.
What It Finds
Its README walks one example end to end: a small Dagster asset graph in front of a local DuckDB warehouse, broken by hand, with no cloud account and no credential. dex finds a duplicate key and names the downstream model it impacts, which only the asset graph connects. It finds a dropped source table and names the file that declared it.
When a measure is redefined, it reports definition_changed, which no inspection of the warehouse can find, because nothing in the warehouse changed. And it says the new expression no longer maps to a column it can check, rather than passing it. When it cannot check something, it says so.
How It Is Kept Honest
- The README is tested. CI runs the example on every pull request and refuses the change if any output line the README quotes is not one the run printed.
- Released and licensed. Published to PyPI under Apache-2.0, with a changelog, a security policy and contribution guidelines.