MCPcopy Create free account
hub / github.com/HisMax/RedInk / get_task_state

Method get_task_state

backend/services/image.py:898–900  ·  view source on GitHub ↗

获取任务状态

(self, task_id: str)

Source from the content-addressed store, hash-verified

896 return os.path.join(task_dir, filename)
897
898 def get_task_state(self, task_id: str) -> Optional[Dict]:
899 """获取任务状态"""
900 return self._task_states.get(task_id)
901
902 def cleanup_task(self, task_id: str):
903 """清理任务状态(释放内存)"""

Callers 1

get_task_stateFunction · 0.80

Calls 1

getMethod · 0.80

Tested by

no test coverage detected