ScriptsSettings
human/process/settings.pyInherits from Settings
The scripts to run, in order, and whether they run at all.
| Attributes | ||
|---|---|---|
| enabled | bool | — |
| items | List[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() | T | Settings from a dict, missing fields get their default.from Settings |
| copy() | T | A deep copy.from Settings |
Attributes
No description yet.
human.process.settings.scripts.items: List[ScriptSettings]
sourceNo description yet.
Methods
human.process.settings.scripts.active() → List[ScriptSettings]
sourceThe scripts that run, none when disabled.
Returns List[ScriptSettings]
The settings as plain dict, nested settings included.
Returns Dict[str, Any]
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.
| Parameter | Type | Description |
|---|---|---|
| data | Dict[str, Any] | — |
Returns T
A deep copy.
Returns T