MCPcopy Create free account
hub / github.com/C3ting/ARL / set_start_time

Method set_start_time

app/tasks/github.py:68–71  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

66 utils.conn_db(self.collection).update_one(query, update)
67
68 def set_start_time(self):
69 query = {"_id": ObjectId(self.task_id)}
70 update = {"$set": {"start_time": utils.curr_date()}}
71 utils.conn_db(self.collection).update_one(query, update)
72
73 def set_end_time(self):
74 query = {"_id": ObjectId(self.task_id)}

Callers 2

runMethod · 0.95
runMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected