-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
move favor state arg to click #6774
Conversation
Thank you for your pull request! We could not find a changelog entry for this change. For details on how to document a change, see the contributing guide. |
@ChenyuLInx I figured it out! The tests fail for me locally, and then pass when I switch Desirable behavior:
As a separate matter,
That's obviously out of scope for this PR |
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.
LGTM, one naming nit.
core/dbt/cli/params.py
Outdated
@@ -75,6 +75,13 @@ | |||
help="If set, defer to the state variable for resolving unselected nodes.", | |||
) | |||
|
|||
favor_defer_state = 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.
Nit: this should be defer_favor_state
or simply favor_state
.
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.
Agreed.
Co-authored-by: Stu Kilgore <stu.kilgore@dbtlabs.com>
resolves #6585
Tests related to
--favor-state
passes. There are still two fail but not related to--favor-state
. Planning on resolving those at the very end.