def rs_client(h=client_context.host, p=client_context.port, **kwargs):
 return _mongo_client(h, p, **kwargs)

def rs_client ( h = client_context . host , p = client_context . port , ** kwargs ) : return _mongo_client ( h , p , ** kwargs )
connect to the replica set and authenticate if necessary .