#NEWLINE# @ classmethod #NEWLINE# def shard_id_from_number( cls , mapreduce_id , shard_number ) : #NEWLINE# #INDENT# 'Get shard id by mapreduce id and shard number.\n\n    Args:\n      mapreduce_id: mapreduce id as string.\n      shard_number: shard number to compute id for as int.\n\n    Returns:\n      shard id as string.\n    ' #NEWLINE# return ( '%s-%d' % ( mapreduce_id , shard_number ) )