Skip to content

SearchSort

Source code in docs_src/capo_glue/types/search_sort.py
class SearchSort(TypedDict, closed=True):
    attribute: "capo_glue.types.search_attribute.SearchAttribute"
    """<p>The attribute to sort by.</p>"""
    order: NotRequired["capo_glue.types.search_sort_order.SearchSortOrder"]
    """<p>The sort order. Valid values are <code>ASCENDING</code> and <code>DESCENDING</code>.</p>"""

attribute instance-attribute

attribute: SearchAttribute

The attribute to sort by.

order instance-attribute

order: NotRequired[SearchSortOrder]

The sort order. Valid values are ASCENDING and DESCENDING.