ScriptSettings
human/process/settings.pyInherits from Settings
A script to run at a stage of the process, see scripts.py.
| Attributes | ||
|---|---|---|
| path | str | — |
| stage | str | — |
| args | Dict[str, Any] | — |
| on_error | str | — |
| Methods | ||
| 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.
No description yet.
No description yet.
No description yet.
Methods
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