#NEWLINE# def add_custom_properties( self , element ) : #NEWLINE# #INDENT# if self . case . external_id : #NEWLINE# #INDENT# element . append ( safe_element ( 'external_id' , self . case . external_id ) ) #NEWLINE# #UNINDENT# super ( V2CaseXMLGenerator , self ) . add_custom_properties ( element )