#NEWLINE# def relations_script( self , function_name , **kwargs ) : #NEWLINE# #INDENT# 'SQL Script for all the relations of the database\n        ' #NEWLINE# result = SqlScript ( ) #NEWLINE# for relation in self . sorted_relations ( ) : #NEWLINE# #INDENT# func = getattr ( relation , relation ) #NEWLINE# result . append ( func ( ** kwargs ) ) #NEWLINE# #UNINDENT# return result