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 2020/02/25 07:10:35 UTC

[GitHub] [airflow] Fokko commented on a change in pull request #7476: [AIRFLOW-6856][depends on AIRFLOW-6862][WIP] Bulk fetch paused_dag_ids

Fokko commented on a change in pull request #7476: [AIRFLOW-6856][depends on AIRFLOW-6862][WIP] Bulk fetch paused_dag_ids
URL: https://github.com/apache/airflow/pull/7476#discussion_r383692759
 
 

 ##########
 File path: airflow/jobs/scheduler_job.py
 ##########
 @@ -672,33 +672,24 @@ def _process_task_instances(self, dag, task_instances_list, session=None):
                     self.log.debug('Queuing task: %s', ti)
                     task_instances_list.append(ti.key)
 
-    def _process_dags(self, dagbag, dags, tis_out):
+    @provide_session
+    def _process_dags(self, dags, tis_out, session=None):
 
 Review comment:
   While touching this line, can we add type annotations?

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services