def hmget(key, *fields, **options):
 host = options.get('host', None)
 port = options.get('port', None)
 database = options.get('db', None)
 password = options.get('password', None)
 server = _connect(host, port, database, password)
 return server.hmget(key, *fields)

def hmget ( key , * fields , ** options ) : host = options . get ( 'host' , None ) port = options . get ( 'port' , None ) database = options . get ( 'db' , None ) password = options . get ( 'password' , None ) server = _connect ( host , port , database , password ) return server . hmget ( key , * fields )
returns the values of all the given hash fields .