nuclearpinguin commented on a change in pull request #6933: [AIRFLOW-6376]
Extract order_queued_tasks_by_priority method
URL: https://github.com/apache/airflow/pull/6933#discussion_r361761418
##########
File path: airflow/executors/base_executor.py
##########
@@ -150,16 +150,25 @@ def heartbeat(self) -> None:
self.log.debug("Calling the %s sync method", self.__class__)
self.sync()
- def trigger_tasks(self, open_slots: int) -> None:
+ def order_queued_tasks_by_priority(self) ->
List[Tuple[TaskInstanceKeyType, QueuedTaskInstanceType]]:
Review comment:
What do you think about making this a property?
----------------------------------------------------------------
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