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_r357000170
##########
File path: airflow/jobs/scheduler_job.py
##########
@@ -1006,8 +978,7 @@ def _change_state_for_tis_without_dagrun(self,
)
Stats.gauge('scheduler.tasks.without_dagrun', tis_changed)
- @provide_session
- def __get_concurrency_maps(self, states, session=None):
+ def __get_concurrency_maps(self, states, session):
Review comment:
This method has an invalid rtype. Returns two dictionaries in a tuple, not
just one. Can you correct that?
----------------------------------------------------------------
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