From a13fb190ec28cca5c301d818652fcc1a4da2ab5a Mon Sep 17 00:00:00 2001 From: Maxime Armstrong Date: Fri, 21 Jun 2024 13:16:39 -0400 Subject: [PATCH] Update scaffold --- .../dagster-dbt/dagster_dbt/include/scaffold/assets.py.jinja | 2 +- .../dagster-dbt/dagster_dbt/include/scaffold/project.py.jinja | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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()