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] = (), 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
- __init__(name: str, id: int, owner: str, raw_json: Mapping[str, Any], issues: Sequence[str], missing_refs: Sequence[str | int] = (), kind: Literal['invalid'] = 'invalid') None#
Methods
__init__(name, id, owner, raw_json, issues)Attributes