ashb commented on a change in pull request #6792: [AIRFLOW-5930] Use cached-SQL 
query building for hot-path queries
URL: https://github.com/apache/airflow/pull/6792#discussion_r367151106
 
 

 ##########
 File path: airflow/models/dagrun.py
 ##########
 @@ -268,10 +290,14 @@ def update_state(self, session=None):
         Determines the overall state of the DagRun based on the state
         of its TaskInstances.
 
-        :return: State
+        :return: state, schedulable_task_instances
+        :rtype: (State, list[airflow.models.TaskInstance])
 
 Review comment:
   Yup, that's what I'm changing it too. Link for reference 
http://www.sphinx-doc.org/en/master/usage/restructuredtext/domains.html#info-field-lists
 (at the end of that section, just before "Cross-referencing Python objects")

----------------------------------------------------------------
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

Reply via email to