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

Method __init__

app/models/task.py:299–305  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

297 verbose_name_plural = _("Tasks")
298
299 def __init__(self, *args, **kwargs):
300 super(Task, self).__init__(*args, **kwargs)
301
302 # To help keep track of changes to the project id
303 self.__original_project_id = self.project.id
304
305 self.console = Console(self.data_path("console_output.txt"))
306
307 def __str__(self):
308 name = self.name if self.name is not None else gettext("unnamed")

Callers

nothing calls this directly

Calls 2

data_pathMethod · 0.95
ConsoleClass · 0.90

Tested by

no test coverage detected