Timothee Vandeput
07/21/2023, 3:02 PMget_asset_key_for_output_name
won't exist on the manifest (it used to with DbtManifest class). Did I miss something ?rex
07/21/2023, 5:48 PMimport json
from pathlib import Path
from dagster import Output, op
from dagster_dbt import DbtCliResource
manifest = json.loads(Path("target", "manifest.json").read_text())
@op
def my_dbt_op(dbt: DbtCliResource):
yield from dbt.cli(["run"], manifest=manifest).stream(yield_asset_materialization=True)
yield Output(None)