potiuk commented on a change in pull request #5786: [AIRFLOW-5170] Fix encoding pragmas, consistent licences for python files and related pylint fixes URL: https://github.com/apache/airflow/pull/5786#discussion_r314947917
########## File path: airflow/models/baseoperator.py ########## @@ -547,12 +553,17 @@ def schedule_interval(self): schedule_interval as it may not be attached to a DAG. """ if self.has_dag(): - return self.dag._schedule_interval + # noinspection PyProtectedMember + return self.dag._schedule_interval # pylint: disable=protected-access else: return self._schedule_interval @property def priority_weight_total(self): + """ + Total priority weight for the operator, all upstream or downstream tasks depending on the weight rule. + :return: calculated priority weight Review comment: I know. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services