Cancels a task (stops its execution, or prevents it from being executed)
(self, uuid)
| 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 | """ |