🚧 WIP import progress based on game pipelines
This commit is contained in:
@@ -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"""
|
||||
|
||||
Reference in New Issue
Block a user