Lines Matching refs:States
59 {job_id: {'state':RetryHandler.States, 'retry_max':int}}
90 States = enum.Enum('NOT_ATTEMPTED', 'ATTEMPTED', 'RETRIED',
129 'state': self.States.NOT_ATTEMPTED,
167 self.States.NOT_ATTEMPTED and
185 if old_record['state'] != self.States.NOT_ATTEMPTED:
189 old_record['state'] = self.States.RETRIED
205 if current_state != self.States.NOT_ATTEMPTED:
209 (self.States.get_string(current_state),
210 self.States.get_string(self.States.ATTEMPTED)))
212 self._retry_map[job_id]['state'] = self.States.ATTEMPTED
237 self._retry_map[result.id]['state'] == self.States.RETRIED or