MCPcopy Create free account
hub / github.com/Ishabdullah/Codey-v2 / get_all_tasks

Method get_all_tasks

core/state.py:314–318  ·  view source on GitHub ↗

Get all tasks ordered by creation time.

(self)

Source from the content-addressed store, hash-verified

312 return [dict(row) for row in cur.fetchall()]
313
314 def get_all_tasks(self) -> List[Dict]:
315 """Get all tasks ordered by creation time."""
316 with self._lock:
317 cur = self._conn.execute("SELECT * FROM task_queue ORDER BY created_at DESC")
318 return [dict(row) for row in cur.fetchall()]
319
320 # ==================== Episodic Log ====================
321

Callers 3

_handle_healthMethod · 0.45
_handle_taskMethod · 0.45
_load_tasksMethod · 0.45

Calls 1

executeMethod · 0.80

Tested by

no test coverage detected