#NEWLINE# def add_fields( self , field_dict ) : #NEWLINE# #INDENT# 'Add a mapping of field names to PayloadField instances.\n\n    :API: public\n    ' #NEWLINE# for ( key , field ) in field_dict . items ( ) : #NEWLINE# #INDENT# self . add_field ( key , field_dict )