Skip to content

RunGate

Source code in docs_src/capo_cloudwatchomni/types/run_gate.py
class RunGate(TypedDict, closed=True):
    metric: "capo_cloudwatchomni.types.run_metric.RunMetric"
    """The metric the gate measures over the run's cases."""
    bound: NotRequired["capo_cloudwatchomni.types.gate_bound.GateBound"]
    """The bound the metric must meet for the gate to hold. Required for every metric except regressedScores, which takes no bound (RULE_BOUND_INVALID if it has one, FIELD_REQUIRED if another metric has none)."""

bound instance-attribute

bound: NotRequired[GateBound]

The bound the metric must meet for the gate to hold. Required for every metric except regressedScores, which takes no bound (RULE_BOUND_INVALID if it has one, FIELD_REQUIRED if another metric has none).

metric instance-attribute

metric: RunMetric

The metric the gate measures over the run's cases.