Skip to content

PreferenceEntry

Source code in docs_src/capo_wellarchitected/types/preference_entry.py
class PreferenceEntry(TypedDict, closed=True):
    key: "capo_wellarchitected.types.preference_key.PreferenceKey"
    """<p>Which preference this entry describes.</p>"""
    status: "capo_wellarchitected.types.preference_status.PreferenceStatus"
    """<p>Current state of the preference. ENABLED and DISABLED reflect the result of the most recent successful change. FAILED reflects a stored failure surfaced on a read and is accompanied by a detail message.</p>"""
    detail: NotRequired["str"]
    """<p>A human-readable explanation present only when status is FAILED, describing what went wrong and how to recover.</p>"""

detail instance-attribute

detail: NotRequired[str]

A human-readable explanation present only when status is FAILED, describing what went wrong and how to recover.

key instance-attribute

Which preference this entry describes.

status instance-attribute

Current state of the preference. ENABLED and DISABLED reflect the result of the most recent successful change. FAILED reflects a stored failure surfaced on a read and is accompanied by a detail message.