mik-laj 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_r367086086
 
 

 ##########
 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:
   ```suggestion
           :rtype: Tuple[State, List[airflow.models.TaskInstance])
   ```

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to