def reset_for_retry(self):
    self.retries += 1
    self.last_work_item = ""
    self.active = True
    self.result_status = None
    self.counters_map = CountersMap()
    self.slice_id = 0
    self.slice_start_time = None
    self.slice_request_id = None
    self.slice_retries = 0
Clone the repo
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/ext/mapreduce/model.py/ShardState.reset_for_retry--crossover with--dataset/ETHPy150Open jupyterhub/jupyterhub/tools/tasks.py/clone_repo