Last active
November 10, 2022 21:09
-
-
Save yuhan/7936befcf5176f9300bed8ed3c88243d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from dagster_dbt import load_assets_from_dbt_manifest | |
def runtime_metadata_fn(context, node_info): | |
return {"dbt_model": node_info["name"], "materialized": node_info["materialized"]} | |
dbt_assets = load_assets_from_dbt_manifest( | |
manifest_json=manifest_json, runtime_metadata_fn=runtime_metadata_fn | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment