Gets information about this task, such as name, creation date, processing time, status, command line options and number of images being processed.
(self, uuid, with_output=None)
| 141 | return task.uuid |
| 142 | |
| 143 | def get_task_info(self, uuid, with_output=None): |
| 144 | """ |
| 145 | Gets information about this task, such as name, creation date, |
| 146 | processing time, status, command line options and number of |
| 147 | images being processed. |
| 148 | """ |
| 149 | api_client = self.api_client() |
| 150 | task = api_client.get_task(uuid) |
| 151 | task_info = task.info(with_output) |
| 152 | |
| 153 | # Output support for older clients |
| 154 | if not api_client.version_greater_or_equal_than("1.5.1") and with_output: |
| 155 | task_info.output = self.get_task_console_output(uuid, with_output) |
| 156 | |
| 157 | return task_info |
| 158 | |
| 159 | def get_task_console_output(self, uuid, line): |
| 160 | """ |
no test coverage detected