Settings
human/process/settings.pyBase of the settings dataclasses, JSON in and out.
| Methods | ||
|---|---|---|
| to_dict() | Dict[str, Any] | The settings as plain dict, nested settings included. |
| from_dict() | T | Settings from a dict, missing fields get their default. |
| copy() | T | A deep copy. |
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