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

Method set_id

camel/tasks/task.py:132–138  ·  view source on GitHub ↗

r"""Set the id of the task. Args: id (str): The id of the task.

(self, id: str)

Source from the content-addressed store, hash-verified

130 self.set_state(TaskState.DONE)
131
132 def set_id(self, id: str):
133 r"""Set the id of the task.
134
135 Args:
136 id (str): The id of the task.
137 """
138 self.id = id
139
140 def set_state(self, state: TaskState):
141 r"""Recursively set the state of the task and its subtasks.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected