MCPcopy
hub / github.com/WebODM/WebODM / task_path

Method task_path

app/models/task.py:407–413  ·  view source on GitHub ↗

Get path relative to the root task directory

(self, *args)

Source from the content-addressed store, hash-verified

405 return self.task_path("data", *args)
406
407 def task_path(self, *args):
408 """
409 Get path relative to the root task directory
410 """
411 return os.path.join(settings.MEDIA_ROOT,
412 assets_directory_path(self.id, self.project.id, ""),
413 *args)
414
415 def is_asset_available_slow(self, asset):
416 """

Callers 15

assets_pathMethod · 0.95
data_pathMethod · 0.95
duplicateMethod · 0.95
processMethod · 0.95
compactMethod · 0.95
scan_imagesMethod · 0.95
get_image_pathMethod · 0.95
handle_images_uploadMethod · 0.95
update_sizeMethod · 0.95

Calls 1

assets_directory_pathFunction · 0.85

Tested by 1

test_taskMethod · 0.64