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

Method restart_task

nodeodm/models.py:192–199  ·  view source on GitHub ↗

Restarts a task that was previously canceled or that had failed to process

(self, uuid, options = None)

Source from the content-addressed store, hash-verified

190 return task.download_zip(destination, progress_callback, parallel_downloads=parallel_downloads)
191
192 def restart_task(self, uuid, options = None):
193 """
194 Restarts a task that was previously canceled or that had failed to process
195 """
196
197 api_client = self.api_client()
198 task = api_client.get_task(uuid)
199 return task.restart(self.options_list_to_dict(options))
200
201 def delete(self, using=None, keep_parents=False):
202 pnode_id = self.id

Callers 3

test_token_authMethod · 0.80
processMethod · 0.80

Calls 3

api_clientMethod · 0.95
options_list_to_dictMethod · 0.95
restartMethod · 0.80

Tested by 2

test_token_authMethod · 0.64