-
Notifications
You must be signed in to change notification settings - Fork 1
/
events.py
29 lines (29 loc) · 1.05 KB
/
events.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
class CrowdAIEvents(object):
Event = {
"" : "CrowdAI.Event",
"SUCCESS" : "CrowdAI.Event.SUCCESS",
"ERROR" : "CrowdAI.Event.ERROR"
},
Connection = {
"":"CrowdAI.Event.Connection",
"BEGIN":"CrowdAI.Event.Connection.BEGIN",
"CONNECTED":"CrowdAI.Event.Connection.CONNECTED",
"DISCONNECTED": "CrowdAI.Event.Connection.DISCONNECTED",
"RECONNECTED": "CrowdAI.Event.Connection.RECONNECTED"
}
Authentication={
"":"CrowdAI.Event.Authentication",
"SUCCESS":"CrowdAI.Event.Authentication.SUCCESS",
"ERROR":"CrowdAI.Event.Authentication.ERROR"
}
Job={
"":"CrowdAI.Event.Job",
"ENQUEUED":"CrowdAI.Event.Job.ENQUEUED",
"WAITING":"CrowdAI.Event.Job.WAITING",
"RUNNING":"CrowdAI.Event.Job.RUNNING",
"PROGRESS_UPDATE":"CrowdAI.Event.Job.PROGRESS_UPDATE",
"COMPLETE":"CrowdAI.Event.Job.COMPLETE",
"ERROR":"CrowdAI.Event.Job.ERROR",
"INFO":"CrowdAI.Event.Job.INFO",
"TIMEOUT":"CrowdAI.Event.Job.TIMEOUT",
}