Skip to content

SearchExpression

Source code in docs_src/capo_sagemaker/types/search_expression.py
class SearchExpression(TypedDict, closed=True):
    filters: NotRequired["capo_sagemaker.types.filter_list.FilterList"]
    """<p>A list of filter objects.</p>"""
    nested_filters: NotRequired[
        "capo_sagemaker.types.nested_filters_list.NestedFiltersList"
    ]
    """<p>A list of nested filter objects.</p>"""
    sub_expressions: NotRequired[
        "capo_sagemaker.types.search_expression_list.SearchExpressionList"
    ]
    """<p>A list of search expression objects.</p>"""
    operator: NotRequired["capo_sagemaker.types.boolean_operator.BooleanOperator"]
    """<p>A Boolean operator used to evaluate the search expression. If you want every conditional statement in all lists to be satisfied for the entire search expression to be true, specify <code>And</code>. If only a single conditional statement needs to be true for the entire search expression to be true, specify <code>Or</code>. The default value is <code>And</code>.</p>"""

filters instance-attribute

filters: NotRequired[FilterList]

A list of filter objects.

nested_filters instance-attribute

nested_filters: NotRequired[NestedFiltersList]

A list of nested filter objects.

operator instance-attribute

operator: NotRequired[BooleanOperator]

A Boolean operator used to evaluate the search expression. If you want every conditional statement in all lists to be satisfied for the entire search expression to be true, specify And. If only a single conditional statement needs to be true for the entire search expression to be true, specify Or. The default value is And.

sub_expressions instance-attribute

sub_expressions: NotRequired[SearchExpressionList]

A list of search expression objects.