MCPcopy Index your code
hub / github.com/WebODM/WebODM / remove_task

Method remove_task

nodeodm/models.py:176–182  ·  view source on GitHub ↗

Removes a task and deletes all of its assets

(self, uuid)

Source from the content-addressed store, hash-verified

174 return task.cancel()
175
176 def remove_task(self, uuid):
177 """
178 Removes a task and deletes all of its assets
179 """
180 api_client = self.api_client()
181 task = api_client.get_task(uuid)
182 return task.remove()
183
184 def download_task_assets(self, uuid, destination, progress_callback, parallel_downloads=16):
185 """

Callers 4

test_token_authMethod · 0.80
test_taskMethod · 0.80
processMethod · 0.80

Calls 2

api_clientMethod · 0.95
removeMethod · 0.45

Tested by 3

test_token_authMethod · 0.64
test_taskMethod · 0.64