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

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