claire
06/27/2023, 4:41 PMdagster-dbt
(0.19.12) introduces experimental APIs to improve the ergonomics of defining python dependencies upstream and downstream of dbt assets.
This discussion details the new APIs, please comment with any feedback or questions!
The new methods are utilities to fetch asset keys from the dbt manifest, intended to be used with @asset(key=...)
to define python dependencies. A brief summary:
• `DbtManifest.get_asset_key_for_source`: fetches the asset key of a dbt source
• `DbtManifest.get_asset_key_for_model`: fetches the asset key of a dbt modelMalo PARIS
06/28/2023, 7:03 AMload_asset_from_dbt_project
?rex
06/28/2023, 12:38 PM