#NEWLINE# def shard_hset( conn , base , key , value , total_elements , shard_size ) : #NEWLINE# #INDENT# shard = shard_key ( base , key , total_elements , key ) #NEWLINE# return conn . hset ( shard , key , value )