kittycad.models.created_at_sort_mode.CreatedAtSortMode
- class kittycad.models.created_at_sort_mode.CreatedAtSortMode(value)[source][source]
-
Supported set of sort modes for scanning by created_at only.
Currently, we only support scanning in ascending order.
Attributes
# Sort in decreasing order of "created_at".
- __dict__ = mappingproxy({'_generate_next_value_': <function Enum._generate_next_value_>, '__module__': 'kittycad.models.created_at_sort_mode', '__doc__': 'Supported set of sort modes for scanning by created_at only.\n\n Currently, we only support scanning in ascending order.', '__str__': <function CreatedAtSortMode.__str__>, '__dict__': <attribute '__dict__' of 'CreatedAtSortMode' objects>, '__weakref__': <attribute '__weakref__' of 'CreatedAtSortMode' objects>, '_member_names_': ['CREATED_AT_ASCENDING', 'CREATED_AT_DESCENDING'], '_member_map_': {'CREATED_AT_ASCENDING': <CreatedAtSortMode.CREATED_AT_ASCENDING: 'created_at_ascending'>, 'CREATED_AT_DESCENDING': <CreatedAtSortMode.CREATED_AT_DESCENDING: 'created_at_descending'>}, '_member_type_': <class 'str'>, '_value2member_map_': {'created_at_ascending': <CreatedAtSortMode.CREATED_AT_ASCENDING: 'created_at_ascending'>, 'created_at_descending': <CreatedAtSortMode.CREATED_AT_DESCENDING: 'created_at_descending'>}, 'CREATED_AT_ASCENDING': <CreatedAtSortMode.CREATED_AT_ASCENDING: 'created_at_ascending'>, 'CREATED_AT_DESCENDING': <CreatedAtSortMode.CREATED_AT_DESCENDING: 'created_at_descending'>, '__repr__': <function Enum.__repr__>, '__format__': <function Enum.__format__>, '__new__': <function Enum.__new__>, '__annotations__': {}})[source]
- _generate_next_value_(start, count, last_values)[source]
Generate the next value when not given.
name: the name of the member start: the initial start value or None count: the number of existing members last_value: the last value assigned or None