citrine.resources.status_detail module

class citrine.resources.status_detail.StatusDetail(*, msg: str, level: str | StatusLevelEnum)

Bases: Serializable[StatusDetailType]

A status message and its level.

classmethod build(data: dict) Self

Build an instance of this object from given data.

dump() dict

Dump this instance.

level = None
msg = None
class citrine.resources.status_detail.StatusLevelEnum(value)

Bases: BaseEnumeration

The level of the status message.

ERROR = 'Error'
INFO = 'Info'
UNKNOWN = 'Unknown'
WARNING = 'Warning'