aito.client.v2.responses.V2Warning
- class aito.client.v2.responses.V2Warning(json: Dict)
Bases:
objectA non-fatal note attached to a v2 response
The engine emits these where it would otherwise have to choose between failing and staying silent — e.g. a
wherenaming a column that is not declared on the collection.- Parameters:
json (Dict) – the warning object
Methods
Attributes
the machine-readable, dotted warning code, e.g.
where.unknown_field.the field the warning is scoped to, if it is field-scoped
the raw warning object
the human-readable warning message
infoorwarning, defaulting towarning- property code: str | None
the machine-readable, dotted warning code, e.g.
where.unknown_field- Return type:
Optional[str]
- property field: str | None
the field the warning is scoped to, if it is field-scoped
- Return type:
Optional[str]
- property json: Dict
the raw warning object
- Return type:
Dict
- property message: str | None
the human-readable warning message
- Return type:
Optional[str]
- property severity: str
infoorwarning, defaulting towarning- Return type:
str