MCPcopy Create free account
hub / github.com/easydiffusion/easydiffusion / tasks

Method tasks

ui/easydiffusion/task_manager.py:179–185  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

177
178 @property
179 def tasks(self):
180 tasks = []
181 for task_id in self._tasks_ids:
182 task = task_cache.tryGet(task_id)
183 if task:
184 tasks.append(task)
185 return tasks
186
187 def put(self, task: Task, ttl=TASK_TTL):
188 task_id = task.id

Callers

nothing calls this directly

Calls 2

tryGetMethod · 0.80
appendMethod · 0.80

Tested by

no test coverage detected