-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dbt run
works with Click
#6396
dbt run
works with Click
#6396
Conversation
flags with user config, flags.WHICH from invoked_subcommand if available
…27-GH-5551-dbt-run-works-w-click
@@ -270,6 +262,15 @@ | |||
default="default", | |||
) | |||
|
|||
select = click.option( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
like the new name
core/dbt/config/profile.py
Outdated
@@ -399,11 +399,13 @@ def from_raw_profiles( | |||
) | |||
|
|||
@classmethod | |||
def render_from_args( | |||
def render( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess a lot of the diff will disapear once profile PR is in
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ops was intended to start review but ended up left a lot of comment, this looks good to me!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! 👍
21e5888
to
3ee0790
Compare
resolves #5551
Description
dbt run
works with Click. Have fun folks!Caveats:
python3 -m dbt.cli.main run --project-dir ../path/to/project
703b7e5
specifically contains both old and new code paths for the entire PR.Checklist
changie new
to create a changelog entry