didier/database/enums.py

15 lines
360 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()
2022-09-17 19:22:27 +02:00
SCHEDULES = enum.auto()
UFORA_ANNOUNCEMENTS = enum.auto()