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.
Methods
__init__
()clear
()Clear the active DataFlowKernel so that a new one can be loaded.
dfk
()Return the currently-loaded DataFlowKernel.
load
([config])Load a DataFlowKernel.
Waits for all tasks in the task list to be completed, by waiting for their AppFuture to be completed.
- classmethod dfk() DataFlowKernel [source]
Return the currently-loaded DataFlowKernel.
- classmethod load(config: Config | None = None) DataFlowKernel [source]
Load a DataFlowKernel.
- Parameters:
config (-) – Configuration to load. This config will be passed to a new DataFlowKernel instantiation which will be set as the active DataFlowKernel.
- Returns:
The loaded DataFlowKernel object.
- Return type:
DataFlowKernel