nvalchemi.hooks.Hook#

class nvalchemi.hooks.Hook(*args, **kwargs)[source]#

Protocol for hooks that observe or modify workflow state.

frequency#

How often the hook runs (every N steps).

Type:

int

stage#

The stage enum value at which this hook runs, or None for hooks that are stage-agnostic until registered with a specific engine.

Type:

Enum | None

__init__(*args, **kwargs)#

Methods

__init__(*args, **kwargs)

Attributes

frequency

stage