Skip to content

Commit

Permalink
merge with Profile, run
Browse files Browse the repository at this point in the history
  • Loading branch information
MichelleArk committed Dec 8, 2022
1 parent c0d1f73 commit a58b1fe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion core/dbt/cli/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,9 @@ def cli(ctx, **kwargs):
return

# Profile
# TODO: fix flags.THREADS access
profile = load_profile(
flags.PROJECT_DIR, flags.VARS, flags.PROFILE, flags.TARGET, flags.THREADS
flags.PROJECT_DIR, flags.VARS, flags.PROFILE, flags.TARGET, None
)

# Project
Expand Down
2 changes: 1 addition & 1 deletion core/dbt/tests/fixtures/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ def selectors_yml(project_root, selectors):
def adapter(unique_schema, project_root, profiles_root, profiles_yml, dbt_project_yml):
# The profiles.yml and dbt_project.yml should already be written out
args = Namespace(
profiles_dir=str(profiles_root), project_dir=str(project_root), target=None, profile=None
profiles_dir=str(profiles_root), project_dir=str(project_root), target=None, profile=None, threads=None
)
flags.set_from_args(args, {})
runtime_config = RuntimeConfig.from_args(args)
Expand Down

0 comments on commit a58b1fe

Please sign in to comment.