https://dagster.io/ logo
#integration-dbt
Title
# integration-dbt
b

Brandon Peebles

02/29/2024, 2:27 AM
is the new dbt clone command supported natively by Dagster's DbtCliResource?
j

Jonathan Neo

03/04/2024, 9:38 AM
It should be. If you're using
@dbt_assets
then you can do the following:
Copy code
@dbt_assets(manifest=dbt_manifest_path)
def dbt_clone(context: AssetExecutionContext, dbt_resource: DbtCliResource):
    yield from dbt_resource.cli(["clone"], context=context).stream()
2 Views