Skip to content

SortProperty

Source code in docs_src/capo_amplifyuibuilder/types/sort_property.py
class SortProperty(TypedDict, closed=True):
    field: "str"
    """<p>The field to perform the sort on.</p>"""
    direction: "capo_amplifyuibuilder.types.sort_direction.SortDirection"
    """<p>The direction of the sort, either ascending or descending.</p>"""

direction instance-attribute

direction: SortDirection

The direction of the sort, either ascending or descending.

field instance-attribute

field: str

The field to perform the sort on.