nuclearpinguin commented on a change in pull request #7674: [AIRFLOW-7022] Simplify DagFileProcessor.process_file method URL: https://github.com/apache/airflow/pull/7674#discussion_r390245689
########## File path: airflow/jobs/scheduler_job.py ########## @@ -747,21 +747,16 @@ def _process_dags(self, dags: List[DAG], session=None): return tis_out - def _find_dags_to_process(self, dags: List[DAG], paused_dag_ids: Set[str]) -> List[DAG]: + def _find_dags_to_process(self, dags: List[DAG]) -> List[DAG]: """ Find the DAGs that are not paused to process. :param dags: specified DAGs - :param paused_dag_ids: paused DAG IDs :return: DAGs to process """ if len(self.dag_ids) > 0: Review comment: ```suggestion if self.dag_ids: ``` Should fix pylint error that will be found one day :) ---------------------------------------------------------------- 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