From e5814ffbdb6ee619096842608fd200e1d73cc097 Mon Sep 17 00:00:00 2001 From: Maxime Armstrong Date: Thu, 13 Jun 2024 13:48:10 -0400 Subject: [PATCH] Update DbtProject API --- python_modules/libraries/dagster-dbt/dagster_dbt/cli/app.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/python_modules/libraries/dagster-dbt/dagster_dbt/cli/app.py b/python_modules/libraries/dagster-dbt/dagster_dbt/cli/app.py index 562af32dc38d5..b8bfa15ca809b 100644 --- a/python_modules/libraries/dagster-dbt/dagster_dbt/cli/app.py +++ b/python_modules/libraries/dagster-dbt/dagster_dbt/cli/app.py @@ -305,11 +305,11 @@ def project_scaffold_command( def prepare_for_deployment(project: DbtProject) -> None: """A method that can be called as part of the deployment process.""" - if project.manifest_preparer: + if project.preparer: console.print( - f"Preparing project [bold green]{project.project_dir}[/bold green] for deployment with [bold green]{project.manifest_preparer.prepare.__qualname__}[/bold green]." + f"Preparing project [bold green]{project.project_dir}[/bold green] for deployment with [bold green]{project.preparer.prepare.__qualname__}[/bold green]." ) - project.manifest_preparer.prepare(project) + project.preparer.prepare(project) console.print("Project preparation complete.") if project.packaged_project_dir: