Lines Matching full:self
31 def collection_name(self):
34 def fetch_potential_patch_ids(self):
37 def status_server(self):
40 def is_terminal_status(self, status):
45 def __init__(self, delegate):
46 self._delegate = delegate
47 self._name = self._delegate.collection_name()
48 self._status = self._delegate.status_server()
49 self._status_cache = {}
51 def _cached_status(self, patch_id):
52 cached = self._status_cache.get(patch_id)
55 status = self._status.patch_status(self._name, patch_id)
56 if status and self._delegate.is_terminal_status(status):
57 self._status_cache[patch_id] = status
60 def next(self):
61 patch_ids = self._delegate.fetch_potential_patch_ids()
63 status = self._cached_status(patch_id)
64 if not status or not self._delegate.is_terminal_status(status):