def get_pools(client):
    return [
        server.pool for server in
        client._get_topology().select_servers(any_server_selector)]


# Constants for run_threads and lazy_client_trial.
Get all pools.
dataset/ETHPy150Open mongodb/mongo-python-driver/test/utils.py/get_pools