Skip to content

Commit

Permalink
Comment update
Browse files Browse the repository at this point in the history
  • Loading branch information
iloveitaly committed Jun 8, 2022
1 parent b085d42 commit cbdd792
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aw_transform/classify.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def categorize(events: List[Event], classes: List[Tuple[Category, Rule]]):


def _categorize_one(e: Event, classes: List[Tuple[Category, Rule]]) -> Event:
# TODO can we add a color here too? why is color rendered on the frontend?
# coloring is intentionally left to the frontend in order to keep the backend as simple as possible
e.data["$category"] = _pick_category(
[_cls for _cls, rule in classes if rule.match(e)]
)
Expand Down

0 comments on commit cbdd792

Please sign in to comment.