dplutils.pipeline.stream.StreamingGraphExecutor.task_resolve_output#
- abstractmethod StreamingGraphExecutor.task_resolve_output(pending_task: Any) StreamBatch[source]#
Return a
StreamBatchfrom completed taskThis function takes the output produced by either
task_submit()orsplit_batch_submit(), and returns aStreamBatchobject which tracks the length of returned dataframe(s) and the object which references the underlying DataFrame.The
datamember of returnedStreamBatchwill be either:passed to another call of
task_submit()in a list container, oryielded in the
execute()call (which yields in the user-calledrunmethod). If any handling must be done prior to yield, implementation should do so in overloadedexecute().