Guy McCombe
03/03/2023, 1:03 PM@asset
def _asset(context) -> DbtCliOutput:
res = context.resources.dbt.cli(f"snapshot --select {table}_snapshot")
return res
owen
03/03/2023, 10:41 PMselect * from foo
-- {{ source(my, snapshot) }}
but once that's done, dagster should understand that there's a dependency between my_model and my_snapshotGuy McCombe
03/06/2023, 10:59 AM