2022-07-23 20:35:42 +02:00
|
|
|
import enum
|
|
|
|
|
2022-07-26 21:48:50 +02:00
|
|
|
__all__ = ["TaskType", "TempStorageKey"]
|
2022-07-23 20:35:42 +02:00
|
|
|
|
|
|
|
|
|
|
|
# There is a bug in typeshed that causes an incorrect PyCharm warning
|
|
|
|
# https://github.com/python/typeshed/issues/8286
|
|
|
|
# noinspection PyArgumentList
|
|
|
|
class TaskType(enum.IntEnum):
|
|
|
|
"""Enum for the different types of tasks"""
|
|
|
|
|
|
|
|
BIRTHDAYS = enum.auto()
|
|
|
|
UFORA_ANNOUNCEMENTS = enum.auto()
|
2022-07-26 21:48:50 +02:00
|
|
|
|
|
|
|
|
|
|
|
@enum.unique
|
|
|
|
class TempStorageKey(str, enum.Enum):
|
|
|
|
"""Enum for keys to distinguish the TemporaryStorage rows"""
|
|
|
|
|
|
|
|
WORDLE_WORD = "wordle_word"
|