#NEWLINE# def _ml2_port_model_hook( self , context , original_model , query ) : #NEWLINE# #INDENT# query = query . outerjoin ( models . PortBinding , ( original_model . id == models . PortBinding . port_id ) ) #NEWLINE# return query