# Engine

# DryEngine

machinable.engine.Dry(*args, **kwargs)

# on_after_dispatch

on_after_dispatch(self, execution)

Event triggered after the dispatch of an execution

# Arguments

  • execution: machinable.Execution object

# on_before_dispatch

on_before_dispatch(self, execution)

Event triggered before engine dispatch of an execution

Return False to prevent the dispatch

# Arguments

  • execution: machinable.Execution object

# DetachedEngine

machinable.engine.Detached(*args, **kwargs)

# on_after_dispatch

on_after_dispatch(self, execution)

Event triggered after the dispatch of an execution

# Arguments

  • execution: machinable.Execution object

# on_before_dispatch

on_before_dispatch(self, execution)

Event triggered before engine dispatch of an execution

Return False to prevent the dispatch

# Arguments

  • execution: machinable.Execution object

# NativeEngine

machinable.engine.Native(*args, **kwargs)

# on_after_dispatch

on_after_dispatch(self, execution)

Event triggered after the dispatch of an execution

# Arguments

  • execution: machinable.Execution object

# on_before_dispatch

on_before_dispatch(self, execution)

Event triggered before engine dispatch of an execution

Return False to prevent the dispatch

# Arguments

  • execution: machinable.Execution object

# SlurmEngine

machinable.engine.Slurm(*args, **kwargs)

# on_after_dispatch

on_after_dispatch(self, execution)

Event triggered after the dispatch of an execution

# Arguments

  • execution: machinable.Execution object

# on_before_dispatch

on_before_dispatch(self, execution)

Event triggered before engine dispatch of an execution

Return False to prevent the dispatch

# Arguments

  • execution: machinable.Execution object

# RemoteEngine

machinable.engine.Remote(*args, **kwargs)

# on_after_dispatch

on_after_dispatch(self, execution)

Event triggered after the dispatch of an execution

# Arguments

  • execution: machinable.Execution object

# on_before_dispatch

on_before_dispatch(self, execution)

Event triggered before engine dispatch of an execution

Return False to prevent the dispatch

# Arguments

  • execution: machinable.Execution object

# RayEngine

machinable.engine.ray_engine.RayEngine(*args, **kwargs)

# on_after_dispatch

on_after_dispatch(self, execution)

Event triggered after the dispatch of an execution

# Arguments

  • execution: machinable.Execution object

# on_before_dispatch

on_before_dispatch(self, execution)

Event triggered before engine dispatch of an execution

Return False to prevent the dispatch

# Arguments

  • execution: machinable.Execution object