def get_queue(self):
"""
Returns the queued nodes sorted by scheduling wait.
:rtype: list[enarksh.controller.node.Node.Node]
"""
return sorted(self.__queue, key=functools.cmp_to_key(Schedule.queue_compare))
# ----------------------------------------------------------------------------------------------------------------------
评论列表
文章目录