def get_pool(client):
    topology = client._get_topology()
    server = topology.select_server(writable_server_selector)
    return server.pool
Get the standalone, primary, or mongos pool.
dataset/ETHPy150Open mongodb/mongo-python-driver/test/utils.py/get_pool