Skip to content

Commit

Permalink
Make sort method descriptions more clear
Browse files Browse the repository at this point in the history
  • Loading branch information
podliashanyk committed Jun 19, 2024
1 parent 31b01dc commit 187b4ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/howitz/endpoints.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ class EventSort(Enum):

LASTTRANS = ("lasttrans", "updated", True, "Last transaction",
"Events with the most recent update date first, all IGNORED events are at the bottom")
SEVERITY = "severity", "", True, "Severity", "Events with highest priority first, grouped by event type"
DEFAULT = "raw", "", None, "Raw", "Unchanged order in which Zino server sends events (by ID ascending)"
SEVERITY = "severity", "", True, "Severity", "Events with highest priority first, grouped by event type. Priority takes into account both whether event signifies any disturbance, event's administartive phase and event's type, so there might not be continuous blocks of color"
DEFAULT = "raw", "", None, "Raw", "The same order in which Zino server sends events (by ID, ascending)"

def __new__(cls, *args, **kwds):
obj = object.__new__(cls)
Expand Down

0 comments on commit 187b4ad

Please sign in to comment.