MCPcopy Create free account
hub / github.com/WebODM/WebODM / get_task_assets_cache

Method get_task_assets_cache

app/models/task.py:1651–1654  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1649
1650
1651 def get_task_assets_cache(self):
1652 if self.id is None:
1653 return None
1654 return os.path.join(settings.MEDIA_CACHE, "task_assets", str(self.id))
1655
1656 def clear_task_assets_cache(self):
1657 d = self.get_task_assets_cache()

Callers 4

test_worker_tasksMethod · 0.80
test_taskMethod · 0.80

Calls

no outgoing calls

Tested by 2

test_worker_tasksMethod · 0.64
test_taskMethod · 0.64