MCPcopy Create free account
hub / github.com/SourceCode-AI/aura / __iter__

Method __iter__

aura/worker_executor.py:48–52  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

46 return len(self.jobs) != 0 and all(x.done() for x in self.jobs)
47
48 def __iter__(self) -> futures.Future:
49 for future in futures.as_completed(tuple(self.jobs)):
50 self.jobs.remove(future)
51 self._update_progress()
52 yield future
53
54 def __del__(self):
55 self.pg.close()

Callers

nothing calls this directly

Calls 1

_update_progressMethod · 0.95

Tested by

no test coverage detected