MCPcopy Create free account
hub / github.com/ModelTC/LightX2V / get_task

Method get_task

lightx2v/server/task_manager.py:169–171  ·  view source on GitHub ↗
(self, task_id: str)

Source from the content-addressed store, hash-verified

167 task.stop_event.set()
168 task.status = TaskStatus.CANCELLED
169 task.end_time = datetime.now()
170 task.error = "Task cancelled by user"
171
172 if task.thread and task.thread.is_alive():
173 task.thread.join(timeout=5)
174

Callers 2

get_task_statusMethod · 0.95
_task_processing_loopMethod · 0.45

Calls 1

getMethod · 0.45

Tested by

no test coverage detected