Skip to content

Commit

Permalink
Account for change in dbt-labs/dbt-core#7857
Browse files Browse the repository at this point in the history
  • Loading branch information
jtcohen6 committed Jun 16, 2023
1 parent 583505e commit 2776a01
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/unit/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@ def profile_from_dict(profile, profile_name, cli_vars="{}"):
)


def project_from_dict(project, profile, packages=None, selectors=None, cli_vars="{}"):
def project_from_dict(
project, profile, packages=None, dependent_projects=None, selectors=None, cli_vars="{}"
):
from dbt.config.renderer import DbtProjectYamlRenderer
from dbt.config.utils import parse_cli_vars

Expand All @@ -75,6 +77,7 @@ def project_from_dict(project, profile, packages=None, selectors=None, cli_vars=
project_root=project_root,
project_dict=project,
packages_dict=packages,
dependent_projects_dict=dependent_projects,
selectors_dict=selectors,
)
return partial.render(renderer)
Expand Down

0 comments on commit 2776a01

Please sign in to comment.