dplutils.pipeline.stream.StreamingGraphExecutor.task_submittable#
- abstractmethod StreamingGraphExecutor.task_submittable(task: PipelineTask, rank: int) bool[source]#
Preflight check if task can be submitted
Return
Trueif current conditions enable thetaskto be submitted. Therankargument is an indicator of relative importance, and is incremented whenever the pending data for a given tasks meets the batching requirements as driver walks the task graph backward. ThusRank=0represents the task furthest along and so the highest priority for submission.