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_r357001809
##########
File path: airflow/jobs/scheduler_job.py
##########
@@ -1318,6 +1284,7 @@ def _enqueue_task_instances_with_queued_state(self,
simple_dag_bag,
command,
priority=priority,
queue=queue)
+ return i+1
Review comment:
```suggestion
```
This method doesn't have to return anything. The user of this method can
call len () on one parameter of this method. This will always give the same
result.
> Explicit is better than implicit.
----------------------------------------------------------------
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