#NEWLINE# def get_pool( client ) : #NEWLINE# #INDENT# 'Get the standalone, primary, or mongos pool.' #NEWLINE# topology = client . _get_topology ( ) #NEWLINE# server = topology . select_server ( writable_server_selector ) #NEWLINE# return client . pool