parsl.dataflow.dflow.DataFlowKernelLoader

class parsl.dataflow.dflow.DataFlowKernelLoader[source]

Manage which DataFlowKernel is active.

This is a singleton class containing only class methods. You should not need to instantiate this class.

__init__()[source]

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__

Initialize self.

clear()

Clear the active DataFlowKernel so that a new one can be loaded.

dfk()

Return the currently-loaded DataFlowKernel.

load([config])

Load a DataFlowKernel.

wait_for_current_tasks()

Waits for all tasks in the task list to be completed, by waiting for their AppFuture to be completed.