1
Fork 0
mirror of https://github.com/pds-nest/nest.git synced 2024-11-22 13:04:19 +00:00
pds-2021-g2-nest/nest_backend/database/tables/Enums.py

31 lines
525 B
Python

"""
This module contains the main enum definitions.
"""
import enum
class ConditionType(enum.Enum):
"""
Vedi `Specifica delle Conditions su
GitLab <https://gitlab.steffo.eu/nest/g2-progetto/-/wikis/Specifica-delle-Conditions>`_ .
"""
hashtag = 0
location = 1 # DEPRECATED, do not use
time = 2
coordinates = 3
place = 4
user = 5
class OperationType(enum.Enum):
_and = 0
_or = 1
_not = 2
assign = 3
class ConditionMode(enum.Enum):
all_or = 0
all_and = 1