Restarts a task that was previously canceled or that had failed to process
(self, uuid, options = None)
| 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 |