Skip to content

MetricSearchCriteria

Source code in docs_src/capo_connect/types/metric_search_criteria.py
class MetricSearchCriteria(TypedDict, closed=True):
    or_conditions: NotRequired[
        "capo_connect.types.metric_search_condition_list.MetricSearchConditionList"
    ]
    """<p>A list of conditions to be met, where at least one condition must be satisfied.</p>"""
    and_conditions: NotRequired[
        "capo_connect.types.metric_search_condition_list.MetricSearchConditionList"
    ]
    """<p>A list of conditions that must all be satisfied.</p>"""
    string_condition: NotRequired["capo_connect.types.string_condition.StringCondition"]
    boolean_condition: NotRequired[
        "capo_connect.types.boolean_condition.BooleanCondition"
    ]

and_conditions instance-attribute

and_conditions: NotRequired[MetricSearchConditionList]

A list of conditions that must all be satisfied.

boolean_condition instance-attribute

boolean_condition: NotRequired[BooleanCondition]

or_conditions instance-attribute

or_conditions: NotRequired[MetricSearchConditionList]

A list of conditions to be met, where at least one condition must be satisfied.

string_condition instance-attribute

string_condition: NotRequired[StringCondition]