Skip to content

InsightMessage

Source code in docs_src/capo_mgn/types/insight_message.py
class InsightMessage(TypedDict, closed=True):
    code: NotRequired["capo_mgn.types.bounded_string.BoundedString"]
    """<p>A stable identifier for the kind of insight.</p>"""
    message: NotRequired["capo_mgn.types.insight_message_text.InsightMessageText"]
    """<p>The human-readable insight message.</p>"""
    topic: NotRequired["capo_mgn.types.bounded_string.BoundedString"]
    """<p>The topic that the insight relates to.</p>"""

code instance-attribute

code: NotRequired[BoundedString]

A stable identifier for the kind of insight.

message instance-attribute

message: NotRequired[InsightMessageText]

The human-readable insight message.

topic instance-attribute

topic: NotRequired[BoundedString]

The topic that the insight relates to.