MCPcopy Create free account
hub / github.com/agentforce314/clawcodex / get

Method get

src/task_registry.py:86–89  ·  view source on GitHub ↗

Return the task with the given id, or ``None`` if absent.

(self, task_id: str)

Source from the content-addressed store, hash-verified

84 # -- read paths -------------------------------------------------------
85
86 def get(self, task_id: str) -> TaskStateBase | None:
87 """Return the task with the given id, or ``None`` if absent."""
88 with self._lock:
89 return self._tasks.get(task_id)
90
91 def all(self) -> list[TaskStateBase]:
92 """Snapshot of every registered task. Returns a list, not a view —

Calls

no outgoing calls