ashb commented on a change in pull request #16089:
URL: https://github.com/apache/airflow/pull/16089#discussion_r649424052



##########
File path: airflow/jobs/backfill_job.py
##########
@@ -689,6 +688,9 @@ def tabulate_tis_set(set_tis: Set[TaskInstance]) -> str:
 
         return err
 
+    def _get_dag_with_subdags(self):
+        return [self.dag] + self.dag.subdags
+

Review comment:
       ```suggestion
       def _get_dag_with_subdags(self):
           return [self.dag] + self.dag.subdags
   ```
   
   Keep it the way it was -- adding a one line function that is only called in 
one place doesn't make readability any better.




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


Reply via email to