MCPcopy Create free account
hub / github.com/WebODM/WebODM / download_task_assets

Method download_task_assets

nodeodm/models.py:184–190  ·  view source on GitHub ↗

Downloads a task asset

(self, uuid, destination, progress_callback, parallel_downloads=16)

Source from the content-addressed store, hash-verified

182 return task.remove()
183
184 def download_task_assets(self, uuid, destination, progress_callback, parallel_downloads=16):
185 """
186 Downloads a task asset
187 """
188 api_client = self.api_client()
189 task = api_client.get_task(uuid)
190 return task.download_zip(destination, progress_callback, parallel_downloads=parallel_downloads)
191
192 def restart_task(self, uuid, options = None):
193 """

Callers 1

processMethod · 0.80

Calls 1

api_clientMethod · 0.95

Tested by

no test coverage detected