#NEWLINE# def __init__( self , job_context , shard_state ) : #NEWLINE# #INDENT# 'Init.\n\n    The signature of __init__ is subject to change.\n\n    Read only properties:\n      job_context: JobContext object.\n      id: str. of format job_id-shard_number.\n      number: int. shard number. 0 indexed.\n      attempt: int. The current attempt at executing this shard.\n        Starting at 1.\n\n    Args:\n      job_context: map_job.JobConfig.\n      shard_state: model.ShardState.\n    ' #NEWLINE# self . job_context = job_context #NEWLINE# self . id = shard_state . shard_id #NEWLINE# self . number = shard_state . shard_number #NEWLINE# self . attempt = ( self . retries + 1 ) #NEWLINE# self . _state = shard_state