🚧 WIP import progress based on game pipelines

This commit is contained in:
GeoffreyCoulaud
2023-05-27 18:24:46 +02:00
parent 3202bd4332
commit 39b7b35c1b
2 changed files with 38 additions and 22 deletions

View File

@@ -28,6 +28,10 @@ class Pipeline(GObject.Object):
"""Get the managers that are not done yet"""
return self.waiting | self.running
@property
def is_done(self) -> bool:
return len(self.not_done) == 0
@property
def blocked(self) -> set[Manager]:
"""Get the managers that cannot run because their dependencies aren't done"""