#NEWLINE# def handle_field( self , obj , field ) : #NEWLINE# #INDENT# value = field . _get_val_from_obj ( obj ) #NEWLINE# if is_protected_type ( value ) : #NEWLINE# #INDENT# self . _current [ field . name ] = value #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . _current [ field . name ] = field . value_to_string ( obj )