1
Fork 0
mirror of https://github.com/pds-nest/nest.git synced 2024-11-22 13:04:19 +00:00

Add new condition types

This commit is contained in:
Stefano Pigozzi 2021-05-05 19:17:32 +02:00
parent 425eb4fec0
commit 72d349aa90
Signed by untrusted user who does not match committer: steffo
GPG key ID: 6965406171929D01

View file

@ -6,9 +6,16 @@ import enum
class ConditionType(enum.Enum): class ConditionType(enum.Enum):
"""
Vedi `Specifica delle Conditions su
GitLab <https://gitlab.steffo.eu/nest/g2-progetto/-/wikis/Specifica-delle-Conditions>`_ .
"""
hashtag = 0 hashtag = 0
location = 1 location = 1
time = 2 time = 2
coordinates = 3
place = 4
class OperationType(enum.Enum): class OperationType(enum.Enum):