(self)
| 71 | utils.conn_db(self.collection).update_one(query, update) |
| 72 | |
| 73 | def set_end_time(self): |
| 74 | query = {"_id": ObjectId(self.task_id)} |
| 75 | update = {"$set": {"end_time": utils.curr_date()}} |
| 76 | utils.conn_db(self.collection).update_one(query, update) |
| 77 | |
| 78 | def statistic(self): |
| 79 | query = {"_id": ObjectId(self.task_id)} |
no outgoing calls
no test coverage detected