Inherits from Settings

A script to run at a stage of the process, see scripts.py.

Attributes
pathstr—
stagestr—
argsDict[str, Any]—
on_errorstr—
Methods
to_dict()Dict[str, Any]The settings as plain dict, nested settings included.from Settings
from_dict()TSettings from a dict, missing fields get their default.from Settings
copy()TA deep copy.from Settings

Attributes

ScriptSettings.path: str

source

No description yet.

ScriptSettings.stage: str

source

No description yet.

ScriptSettings.args: Dict[str, Any]

source

No description yet.

ScriptSettings.on_error: str

source

No description yet.

Methods

ScriptSettings.to_dict() → Dict[str, Any]from Settings

source

The settings as plain dict, nested settings included.

Returns Dict[str, Any]

ScriptSettings.from_dict(data: Dict[str, Any]) → Tclass methodfrom Settings

source

Settings from a dict, missing fields get their default.

Unknown keys are logged and ignored, so recipes of a newer version still load as far as possible.

ParameterTypeDescription
dataDict[str, Any]—

Returns T

ScriptSettings.copy() → Tfrom Settings

source

A deep copy.

Returns T