def export_to_files(record_list=None, record_module=None, verbose=0, create_init=None):
 if frappe.flags.in_import:
  return
 if record_list:
  for record in record_list:
   write_document_file(frappe.get_doc(record[0], record[1]), record_module, create_init=create_init)

def export_to_files ( record_list = None , record_module = None , verbose = 0 , create_init = None ) : if frappe . flags . in_import : return if record_list : for record in record_list : write_document_file ( frappe . get_doc ( record [ 0 ] , record [ 1 ] ) , record_module , create_init = create_init )
export record_list to files .