Skip to content

Commit

Permalink
Document point feature
Browse files Browse the repository at this point in the history
  • Loading branch information
thejackal360 committed Dec 8, 2023
1 parent e0e4282 commit efabe87
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion src/elena/elena.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
import json
import random
import sys
from typing import Dict

# https://github.com/pallets/flask/blob/main/src/flask/scaffold.py#L36
import typing as t
Expand Down Expand Up @@ -59,12 +60,23 @@ def dict_stitching(list_of_dicts):


class Point(Enum):
"""
Enumeration representing different types of points
"""

KIWI = 1
STRAWBERRY = 2
CHERRY = 3


PointToEmoji = {
"""
A dictionary mapping Point enum values to corresponding emoji representations.
This dictionary is used to associate each Point type with its corresponding
Unicode emoji representation. It allows for easy conversion between Point
types and the emojis used to visually represent them.
"""
PointToEmoji: Dict[Point, str] = {
Point.KIWI: "🥝",
Point.STRAWBERRY: "🍓",
Point.CHERRY: "🍒",
Expand Down

0 comments on commit efabe87

Please sign in to comment.