def rs_client(h=host, p=port, **kwargs):
    return MongoClient(_connection_string(h, p),
                       replicaSet=client_context.replica_set_name, **kwargs)
Close the connection to any backend system.
dataset/ETHPy150Open mongodb/mongo-python-driver/test/utils.py/rs_client--crossover with--dataset/ETHPy150Open openstack/taskflow/taskflow/jobs/base.py/JobBoard.close