#NEWLINE# def __init__( self , shard_context , shard_state , tstate ) : #NEWLINE# #INDENT# 'Init.\n\n    The signature of __init__ is subject to change.\n\n    Read only properties:\n      job_context: JobContext object.\n      shard_context: ShardContext object.\n      number: int. slice number. 0 indexed.\n      attempt: int. The current attempt at executing this slice.\n        starting at 1.\n\n    Args:\n      shard_context: map_job.JobConfig.\n      shard_state: model.ShardState.\n      tstate: model.TransientShardstate.\n    ' #NEWLINE# self . _tstate = tstate #NEWLINE# self . job_context = shard_context . job_context #NEWLINE# self . shard_context = shard_context #NEWLINE# self . number = shard_context . slice_id #NEWLINE# self . attempt = ( shard_state . slice_retries + 1 )