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

Method complete_task

lightx2v/utils/service_utils.py:64–67  ·  view source on GitHub ↗
(cls, message)

Source from the content-addressed store, hash-verified

62
63 @classmethod
64 def complete_task(cls, message):
65 with cls._lock:
66 cls._result_store[message.task_id] = {"success": True, "message": message, "start_time": cls._current_task["start_time"], "completion_time": datetime.now()}
67 cls._current_task = None
68
69 @classmethod
70 def record_failed_task(cls, message, error: Optional[str] = None):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected