schrodinger.tasks.v2.inprocess module

class schrodinger.tasks.v2.inprocess.InProcessExecutor

Bases: BaseExecutor

class schrodinger.tasks.v2.inprocess.InProcessLauncher(runner_id: str, task: Task)

Bases: BaseLauncher

Launcher that executes the task in-process via InProcessExecutor.

Packer

alias of InMemoryPacker

class schrodinger.tasks.v2.inprocess.SlotLauncher(runner_id: str, task: Task)

Bases: InProcessLauncher

Launcher that schedules execution on the Qt event loop.

class schrodinger.tasks.v2.inprocess.InProcessLoader(runner_id: str, launcher: InProcessLauncher)

Bases: BaseLoader

Retrieve the output context from the launcher’s output packet.

Packer

alias of InMemoryPacker

__init__(runner_id: str, launcher: InProcessLauncher)
class schrodinger.tasks.v2.inprocess.BlockingWatcher

Bases: BaseWatcher

class schrodinger.tasks.v2.inprocess.BlockingRunner(task: Task, *, launchdir: PathLike = None, preprocess_handler: BasePreprocessHandler = None)

Bases: BaseRunner

Launcher

alias of InProcessLauncher

class schrodinger.tasks.v2.inprocess.SlotWatcher

Bases: BaseWatcher

class schrodinger.tasks.v2.inprocess.SlotRunner(*args, **kwargs)

Bases: BaseRunner

Launcher

alias of SlotLauncher

__init__(*args, **kwargs)
wait() None