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

Method update_status

app/tasks/github.py:63–66  ·  view source on GitHub ↗
(self, value)

Source from the content-addressed store, hash-verified

61 return False
62
63 def update_status(self, value):
64 query = {"_id": ObjectId(self.task_id)}
65 update = {"$set": {"status": value}}
66 utils.conn_db(self.collection).update_one(query, update)
67
68 def set_start_time(self):
69 query = {"_id": ObjectId(self.task_id)}

Callers 7

search_resultMethod · 0.95
save_contentMethod · 0.95
runMethod · 0.95
github_task_taskFunction · 0.95
save_mongoMethod · 0.45
runMethod · 0.45
github_task_monitorFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected