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
[AIRFLOW-XXXX] Remove duplication in BaseOperator docstring #7321
Conversation
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.
Nice!
Thanks @zuku1985 ! |
@@ -173,8 +173,6 @@ class derived from this one results in the creation of a task object, | |||
DAGS. Options can be set as string or using the constants defined in | |||
the static class ``airflow.utils.WeightRule`` | |||
:type weight_rule: str | |||
:param queue: specifies which task queue to use |
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.
Good spot! But could you please remove the other one? This one matches the position of the queue param
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.
@ashb I moved the one I left to the proper position. It was more descriptive to me.
e4b8747
to
2d1e37a
Compare
Codecov Report
@@ Coverage Diff @@
## master #7321 +/- ##
======================================
Coverage 86.3% 86.3%
======================================
Files 871 871
Lines 40660 40660
======================================
Hits 35091 35091
Misses 5569 5569
Continue to review full report at Codecov.
|
(cherry picked from commit 7f3f666)
(cherry picked from commit 7f3f666)
) (cherry picked from commit 7f3f666)
Issue link:
Document only change, no JIRA issue
Minor change in BaseOperator docs. I removed duplicated queue parameter.
Make sure to mark the boxes below before creating PR: [x]
[AIRFLOW-NNNN]
. AIRFLOW-NNNN = JIRA ID** For document-only changes commit message can start with
[AIRFLOW-XXXX]
.In case of fundamental code change, 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 UPDATING.md.
Read the Pull Request Guidelines for more information.