mirror of
https://github.com/pds-nest/nest.git
synced 2024-11-25 22:44:19 +00:00
31 lines
525 B
Python
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
|