Skip to content

Predicate

Source code in docs_src/capo_glue/types/predicate.py
class Predicate(TypedDict, closed=True):
    logical: NotRequired["capo_glue.types.logical.Logical"]
    """<p>An optional field if only one condition is listed. If multiple conditions are listed, then this field is required.</p>"""
    conditions: NotRequired["capo_glue.types.condition_list.ConditionList"]
    """<p>A list of the conditions that determine when the trigger will fire.</p>"""

conditions instance-attribute

conditions: NotRequired[ConditionList]

A list of the conditions that determine when the trigger will fire.

logical instance-attribute

logical: NotRequired[Logical]

An optional field if only one condition is listed. If multiple conditions are listed, then this field is required.