-
Notifications
You must be signed in to change notification settings - Fork 11
/
statuses.py
48 lines (47 loc) · 3.37 KB
/
statuses.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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
"""
Maps substatuses to their active / inactive state and in progress / dismissed / judgment state
To be updated whenever we encounter a new substatus
"""
statuses_map = {
"dismissed": {"is_active": False, "status": "Dismissed"},
"final status": {"is_active": False, "status": "Judgment"},
"appealed": {"is_active": False, "status": "Judgment"},
"active": {"is_active": True, "status": "In Progress"},
"hearing set": {"is_active": True, "status": "In Progress"},
"judgment satisfied": {"is_active": False, "status": "Judgment"},
"eviction set": {"is_active": True, "status": "In Progress"},
"pending citation return": {"is_active": True, "status": "In Progress"},
"pending writ return": {"is_active": True, "status": "Judgment"},
"pending trial action": {"is_active": True, "status": "In Progress"},
"judgment released": {"is_active": False, "status": "Judgment"},
"trial/hearing set": {"is_active": True, "status": "In Progress"},
"bankruptcy": {"is_active": False, "status": "In Progress"},
"pending dismissal": {"is_active": True, "status": "Dismissed"},
"pending citation": {"is_active": True, "status": "In Progress"},
"pending setting": {"is_active": True, "status": "In Progress"},
"to be set": {"is_active": True, "status": "In Progress"},
"transferred": {"is_active": False, "status": "In Progress"},
"pending queue": {"is_active": True, "status": "In Progress"},
"pending court action": {"is_active": True, "status": "In Progress"},
"final disposition": {"is_active": False, "status": "Judgment"},
"fed hearing set": {"is_active": True, "status": "In Progress"},
"abated": {"is_active": True, "status": "In Progress"},
"pending writ": {"is_active": True, "status": "Judgment"},
"pending judge's review": {"is_active": True, "status": "In Progress"},
"pending response": {"is_active": True, "status": "In Progress"},
"pending jury setting": {"is_active": True, "status": "In Progress"},
"pending answer": {"is_active": True, "status": "In Progress"},
"hold": {"is_active": True, "status": "In Progress"},
"trial set": {"is_active": True, "status": "In Progress"},
"pending": {"is_active": True, "status": "In Progress"},
"motion filed": {"is_active": True, "status": "In Progress"},
"pending trial setting": {"is_active": True, "status": "In Progress"},
"pending judgment": {"is_active": True, "status": "In Progress"},
"pending hearing request": {"is_active": True, "status": "In Progress"},
"pending dwop": {"is_active": True, "status": "In Progress"},
"pending settlement": {"is_active": True, "status": "In Progress"},
"pending pretrial": {"is_active": True, "status": "In Progress"},
"stayed": {"is_active": True, "status": "In Progress"},
"pending jury trial": {"is_active": True, "status": "In Progress"},
"disposed": {"is_active": False, "status": "Judgment"},
}