#NEWLINE# def hset( self , key , field , value , preserve = False ) : #NEWLINE# #INDENT# '\n        Sets field in the hash stored at key to value. If key does not exist, a\n        new key holding a hash is created. If field already exists in the hash,\n        it is overwritten.\n        ' #NEWLINE# if preserve : #NEWLINE# #INDENT# return self . hsetnx ( key , field , value ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . _send ( 'HSET' , key , field , value ) #NEWLINE# return self . getResponse ( )