Inherits from Settings

The scripts to run, in order, and whether they run at all.

Attributes
enabledbool—
itemsList[ScriptSettings]—
Methods
active()List[ScriptSettings]The scripts that run, none when disabled.
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

human.process.settings.scripts.enabled: bool

source

No description yet.

human.process.settings.scripts.items: List[ScriptSettings]

source

No description yet.

Methods

human.process.settings.scripts.active() → List[ScriptSettings]

source

The scripts that run, none when disabled.

Returns List[ScriptSettings]

human.process.settings.scripts.to_dict() → Dict[str, Any]from Settings

source

The settings as plain dict, nested settings included.

Returns Dict[str, Any]

ScriptsSettings.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

human.process.settings.scripts.copy() → Tfrom Settings

source

A deep copy.

Returns T