Skip to content

Commit

Permalink
remove job store iter
Browse files Browse the repository at this point in the history
  • Loading branch information
Nanguage committed Mar 27, 2023
1 parent 760f392 commit 112553e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions executor/engine/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,6 @@ def items(self) -> T.List[T.Tuple[str, Job]]:
"""Get all key-value pairs."""
return list(self.mem.items())

def __iter__(self):
for job in self.values():
yield job

def __del__(self):
if self.cache is not None:
self.cache.close()
Expand Down

0 comments on commit 112553e

Please sign in to comment.