You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2018/08/09 23:40:03 UTC

[GitHub] feng-tao closed pull request #3727: [AIRFLOW-XXX] Update BaseOperator doc on priority_weight

feng-tao closed pull request #3727: [AIRFLOW-XXX] Update BaseOperator doc on priority_weight
URL: https://github.com/apache/incubator-airflow/pull/3727
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/airflow/models.py b/airflow/models.py
index 5376a8f593..c52353b1fc 100755
--- a/airflow/models.py
+++ b/airflow/models.py
@@ -2254,7 +2254,8 @@ class derived from this one results in the creation of a task object,
     :type dag: DAG
     :param priority_weight: priority weight of this task against other task.
         This allows the executor to trigger higher priority tasks before
-        others when things get backed up.
+        others when things get backed up. Set priority_weight as a higher
+        number for more important tasks.
     :type priority_weight: int
     :param weight_rule: weighting method used for the effective total
         priority weight of the task. Options are:


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services