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

Method get_task_info

nodeodm/models.py:143–157  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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 """

Callers 1

processMethod · 0.80

Calls 2

api_clientMethod · 0.95

Tested by

no test coverage detected