1
0
Fork 0

init last progress on worker context

This commit is contained in:
Sean Sube 2023-03-18 17:27:41 -05:00
parent e08a9aa2ab
commit 1d52dc684d
Signed by: ssube
GPG Key ID: 3EED7B957D362AF1
1 changed files with 1 additions and 0 deletions

View File

@ -38,6 +38,7 @@ class WorkerContext:
self.logs = logs
self.pending = pending
self.active_pid = active_pid
self.last_progress = None
def is_cancelled(self) -> bool:
return self.cancel.value