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

Method cancel_task

nodeodm/models.py:168–174  ·  view source on GitHub ↗

Cancels a task (stops its execution, or prevents it from being executed)

(self, uuid)

Source from the content-addressed store, hash-verified

166 return task.output(line)
167
168 def cancel_task(self, uuid):
169 """
170 Cancels a task (stops its execution, or prevents it from being executed)
171 """
172 api_client = self.api_client()
173 task = api_client.get_task(uuid)
174 return task.cancel()
175
176 def remove_task(self, uuid):
177 """

Callers 3

test_token_authMethod · 0.80
processMethod · 0.80

Calls 2

api_clientMethod · 0.95
cancelMethod · 0.45

Tested by 2

test_token_authMethod · 0.64