Skip to content
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

Provide more context for trigger_reason in DbtCloudRunJobOperator #28994

Merged
merged 1 commit into from
Jan 17, 2023

Conversation

josh-fell
Copy link
Contributor

Users may be confused when comparing the dbt API and the Python API docs for the DbtCloudRunJobOperator re: to trigger_reason. This value is required for the dbt API but not for the operator. The operator will handle providing a default value. Adding the default value in the trigger_reason param docstring so users have additional context when reading the Python API doc for the operator.


^ Add meaningful description above

Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

Users may be confused when comparing the dbt API and the Python API docs for the DbtCloudRunJobOperator re: to `trigger_reason`. This value is required for the dbt API but not for the operator. The operator will handle providing a default value. Adding the default value in the `trigger_reason` param docstring so users have additional context when reading the Python API doc for the operator.
@josh-fell josh-fell merged commit 4f91931 into apache:main Jan 17, 2023
@josh-fell josh-fell deleted the trigger-reason branch January 17, 2023 22:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants