MCPcopy Create free account
hub / github.com/Paper2Poster/Paper2Poster / __init__

Method __init__

camel/tasks/task.py:304–308  ·  view source on GitHub ↗
(self, task: Task)

Source from the content-addressed store, hash-verified

302 """
303
304 def __init__(self, task: Task):
305 self.root_task: Task = task
306 self.current_task_id: str = task.id
307 self.tasks: List[Task] = [task]
308 self.task_map: Dict[str, Task] = {task.id: task}
309
310 def gen_task_id(self) -> str:
311 r"""Generate a new task id."""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected