diff --git a/python_modules/libraries/dagster-dbt/dagster_dbt/include/scaffold/assets.py.jinja b/python_modules/libraries/dagster-dbt/dagster_dbt/include/scaffold/assets.py.jinja index df3085db733d9..4fe4dfb5946be 100644 --- a/python_modules/libraries/dagster-dbt/dagster_dbt/include/scaffold/assets.py.jinja +++ b/python_modules/libraries/dagster-dbt/dagster_dbt/include/scaffold/assets.py.jinja @@ -8,7 +8,7 @@ from .constants import dbt_manifest_path {% endif %} {% if use_experimental_dbt_project -%} -@dbt_assets(manifest={{ dbt_project_name }}.ensure_prepared().manifest_path) +@dbt_assets(manifest={{ dbt_project_name }}.manifest_path) {% else -%} @dbt_assets(manifest=dbt_manifest_path) {% endif -%} diff --git a/python_modules/libraries/dagster-dbt/dagster_dbt/include/scaffold/project.py.jinja b/python_modules/libraries/dagster-dbt/dagster_dbt/include/scaffold/project.py.jinja index ff55741d2c07f..415245197e51c 100644 --- a/python_modules/libraries/dagster-dbt/dagster_dbt/include/scaffold/project.py.jinja +++ b/python_modules/libraries/dagster-dbt/dagster_dbt/include/scaffold/project.py.jinja @@ -9,3 +9,4 @@ from dagster_dbt import DbtProject state_path=Path("target", "state"), {%- endif %} ) +{{ dbt_project_name }}.prepare_if_dev()