def hsetnx(key, field, value, host=None, port=None, db=None, password=None):
 server = _connect(host, port, db, password)
 return server.hsetnx(key, field, value)

def hsetnx ( key , field , value , host = None , port = None , db = None , password = None ) : server = _connect ( host , port , db , password ) return server . hsetnx ( key , field , value )
set the value of a hash field only if the field does not exist .