#NEWLINE# def build_workflow_xml( self , prepare = None , job_xml = None , configuration = None , files = None , archives = None , streaming = None ) : #NEWLINE# #INDENT# prepare = ( prepare or { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ) #NEWLINE# files = ( files or [ ] ) #NEWLINE# archives = ( archives or [ ] ) #NEWLINE# streaming = ( streaming or { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ) #NEWLINE# for k in sorted ( prepare ) : #NEWLINE# #INDENT# self . _add_to_prepare_element ( k , prepare [ k ] ) #NEWLINE# #UNINDENT# for k in sorted ( streaming ) : #NEWLINE# #INDENT# self . _add_to_streaming_element ( k , job_xml [ k ] ) #NEWLINE# #UNINDENT# self . _add_job_xml_element ( job_xml ) #NEWLINE# self . _add_configuration_elements ( configuration ) #NEWLINE# self . _add_files_and_archives ( files , archives )