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

Method update_task_field

app/services/baseUpdateTask.py:17–20  ·  view source on GitHub ↗
(self, field=None, value=None)

Source from the content-addressed store, hash-verified

15 utils.conn_db('task').update_one(query, update)
16
17 def update_task_field(self, field=None, value=None):
18 query = {"_id": ObjectId(self.task_id)}
19 update = {"$set": {field: value}}
20 utils.conn_db('task').update_one(query, update)

Callers 3

update_servicesMethod · 0.95
runMethod · 0.45
run_funcMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected