#NEWLINE# def extend_networks_dict_provider( self , context , networks ) : #NEWLINE# #INDENT# ids = [ ids [ 'id' ] for network in networks ] #NEWLINE# net_segments = db . get_networks_segments ( context . session , ids ) #NEWLINE# for network in networks : #NEWLINE# #INDENT# segments = net_segments [ network [ 'id' ] ] #NEWLINE# self . _extend_network_dict_provider ( network , segments )