Skip to content

TradeOff

Source code in docs_src/capo_wellarchitected/types/trade_off.py
class TradeOff(TypedDict, closed=True):
    pillar: "capo_wellarchitected.types.pillar.Pillar"
    """<p>The pillar that could be negatively impacted.</p>"""
    title: "str"
    """<p>A short phrase describing what is lost or degraded.</p>"""
    description: "str"
    """<p>A description of the specific risk and the condition that triggers it.</p>"""
    risk: "capo_wellarchitected.types.risk_rating.RiskRating"
    """<p>The risk rating for the trade-off.</p>"""
    mitigation: "str"
    """<p>A specific action to mitigate the trade-off and when to take it.</p>"""
    risk_explanation: NotRequired["str"]
    """<p>An optional explanation providing additional context for the risk rating.</p>"""

description instance-attribute

description: str

A description of the specific risk and the condition that triggers it.

mitigation instance-attribute

mitigation: str

A specific action to mitigate the trade-off and when to take it.

pillar instance-attribute

pillar: Pillar

The pillar that could be negatively impacted.

risk instance-attribute

risk: RiskRating

The risk rating for the trade-off.

risk_explanation instance-attribute

risk_explanation: NotRequired[str]

An optional explanation providing additional context for the risk rating.

title instance-attribute

title: str

A short phrase describing what is lost or degraded.