Skip to content

SortCriterion

Source code in docs_src/capo_glue/types/sort_criterion.py
class SortCriterion(TypedDict, closed=True):
    field_name: NotRequired["capo_glue.types.value_string.ValueString"]
    """<p>The name of the field on which to sort.</p>"""
    sort: NotRequired["capo_glue.types.sort.Sort"]
    """<p>An ascending or descending sort.</p>"""

field_name instance-attribute

field_name: NotRequired[ValueString]

The name of the field on which to sort.

sort instance-attribute

sort: NotRequired[Sort]

An ascending or descending sort.