Skip to content

Commit

Permalink
Update DbtProject API
Browse files Browse the repository at this point in the history
  • Loading branch information
maximearmstrong committed Jun 14, 2024
1 parent e87f278 commit e5814ff
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python_modules/libraries/dagster-dbt/dagster_dbt/cli/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit e5814ff

Please sign in to comment.