bayesline.api.SettingInvalid#
- class bayesline.api.SettingInvalid(name: str, id: int, owner: str, raw_json: Mapping[str, Any], issues: Sequence[str], missing_refs: Sequence[str | int] = (), description: str | None = None, kind: Literal['invalid'] = 'invalid') None#
A settings result that exists but is invalid.
Possible reasons for invalidity: - the underlying json is invalid - the setting has references to settings that do not exist - the setting has references to settings that are invalid - the setting does not validate against the settings menu
descriptionis registry-level metadata (a peer of the name, not part of the settings payload), so it is available even though the payload itself does not parse.- __init__(name: str, id: int, owner: str, raw_json: Mapping[str, Any], issues: Sequence[str], missing_refs: Sequence[str | int] = (), description: str | None = None, kind: Literal['invalid'] = 'invalid') None#
Methods
__init__(name, id, owner, raw_json, issues)Attributes