@classmethod<EOL><INDENT>@typeguard.typechecked<EOL>def load(cls, config: Optional[Config] = None):<DEDENT>
if cls._dfk is not None:<EOL><INDENT>raise RuntimeError('<STR_LIT>')<EOL><DEDENT>if config is None:<EOL><INDENT>cls._dfk = DataFlowKernel(Config())<EOL><DEDENT>else:<EOL><INDENT>cls._dfk = DataFlowKernel(config)<EOL><DEDENT>return cls._dfk<EOL>
Load a DataFlowKernel.

        Args:
            - config (Config) : Configuration to load. This config will be passed to a
              new DataFlowKernel instantiation which will be set as the active DataFlowKernel.
        Returns:
            - DataFlowKernel : The loaded DataFlowKernel object.