vladyslav
commited on
Commit
·
255e287
1
Parent(s):
1abc030
Saving created_at in DB
Browse files- utils/db.py +2 -1
utils/db.py
CHANGED
@@ -33,6 +33,7 @@ def save_results(student_name, class_name, model, book, questions, feedback, rat
|
|
33 |
"book": book,
|
34 |
"questions": questions,
|
35 |
"feedback": feedback,
|
36 |
-
"rating": rating
|
|
|
37 |
})
|
38 |
print("Saved results")
|
|
|
33 |
"book": book,
|
34 |
"questions": questions,
|
35 |
"feedback": feedback,
|
36 |
+
"rating": rating,
|
37 |
+
"created_at": db.command("serverStatus")["localTime"]
|
38 |
})
|
39 |
print("Saved results")
|