* YOYO NEW API SPEC! * updates Signed-off-by: Jess Frazelle <github@jessfraz.com> * fixes Signed-off-by: Jess Frazelle <github@jessfraz.com> * tuples Signed-off-by: Jess Frazelle <github@jessfraz.com> * updates; Signed-off-by: Jess Frazelle <github@jessfraz.com> * I have generated the latest API! --------- Signed-off-by: Jess Frazelle <github@jessfraz.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
16 lines
509 B
Python
16 lines
509 B
Python
from enum import Enum
|
|
|
|
|
|
class CreatedAtSortMode(str, Enum):
|
|
"""Supported set of sort modes for scanning by created_at only.
|
|
|
|
Currently, we only support scanning in ascending order.""" # noqa: E501
|
|
|
|
"""# Sort in increasing order of "created_at". """ # noqa: E501
|
|
CREATED_AT_ASCENDING = "created_at_ascending"
|
|
"""# Sort in decreasing order of "created_at". """ # noqa: E501
|
|
CREATED_AT_DESCENDING = "created_at_descending"
|
|
|
|
def __str__(self) -> str:
|
|
return str(self.value)
|