didier/database/enums.py

14 lines
332 B
Python
Raw Normal View History

import enum
2022-08-29 20:24:42 +02:00
__all__ = ["TaskType"]
# 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()