def __init__(self, shard_context, shard_state, tstate):
    self._tstate = tstate
    self.job_context = shard_context.job_context
    self.shard_context = shard_context
    self.number = shard_state.slice_id
    self.attempt = shard_state.slice_retries + 1
Init.
dataset/ETHPy150Open GoogleCloudPlatform/appengine-mapreduce/python/src/mapreduce/map_job_context.py/SliceContext.__init__