MCPcopy
hub / github.com/HKUDS/DeepCode / create_task

Method create_task

new_ui/backend/services/workflow_service.py:63–69  ·  view source on GitHub ↗

Create a new workflow task

(self)

Source from the content-addressed store, hash-verified

61 return self._plugin_integration
62
63 def create_task(self) -> WorkflowTask:
64 """Create a new workflow task"""
65 task_id = str(uuid.uuid4())
66 task = WorkflowTask(task_id=task_id)
67 self._tasks[task_id] = task
68 self._subscribers[task_id] = []
69 return task
70
71 def get_task(self, task_id: str) -> Optional[WorkflowTask]:
72 """Get task by ID"""

Callers 12

_arm_timerMethod · 0.80
processMethod · 0.80
startMethod · 0.80
_start_typingMethod · 0.80
_start_heartbeatMethod · 0.80
_start_typingMethod · 0.80
start_allMethod · 0.80
startMethod · 0.80
spawnMethod · 0.80
callbackMethod · 0.80
start_paper_to_codeFunction · 0.80
start_chat_planningFunction · 0.80

Calls 1

WorkflowTaskClass · 0.70

Tested by

no test coverage detected