[object Object]

← back to Exo

fix: Use state for tasks

cda3de2a288d68a34d7550d1fb53f8b28c32bec0 · 2025-07-04 15:08:54 +0100 · Arbion Halili

Files touched

Diff

commit cda3de2a288d68a34d7550d1fb53f8b28c32bec0
Author: Arbion Halili <99731180+ToxicPine@users.noreply.github.com>
Date:   Fri Jul 4 15:08:54 2025 +0100

    fix: Use state for tasks
---
 shared/types/states/shared.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/shared/types/states/shared.py b/shared/types/states/shared.py
index c06c8c21..e366602f 100644
--- a/shared/types/states/shared.py
+++ b/shared/types/states/shared.py
@@ -21,7 +21,7 @@ class Tasks(State[TaskEventTypes]):
 class SharedState(BaseModel):
     node_id: NodeId
     known_instances: KnownInstances
-    compute_tasks: Sequence[Task[TaskType]]
+    compute_tasks: Tasks
 
     def get_node_id(self) -> NodeId: ...
 

← 10224d09 refactor: Distinguish the topology of the control plane from  ·  back to Exo  ·  fix: Fix validation over Task types 367e76c8 →