check_strict check_id str title str short_desc str tags str desc str c

 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
check_strict = {
'check_id': str,
'title': str,
'short_desc': str,
'tags': [str],
'desc': str,
}
check_info = check_strict.copy()
check_info.update({
'status': str,
'started_ts': datetime,
'tags': [str],
'question_current': str,
'user': user,
})
question = {
'id': str,
'title': str,
'desc': str,
'next': str,
'type': str,
'choices': [{
'id': str,
'title': str,
'desc': str,
'cost': int,
}],
}
question_radio = question.copy()
question_radio.update({
'answer': str,
})
question_checklist = question.copy()
question_checklist.update({
'answer': [str],
})