#NEWLINE# def __init__( self , key_material = None , attributes = None ) : #NEWLINE# #INDENT# super ( KeyValue , self ) . __init__ ( Tags . KEY_VALUE ) #NEWLINE# if ( key_material is None ) : #NEWLINE# #INDENT# self . key_material = KeyMaterial ( ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . key_material = attributes #NEWLINE# #UNINDENT# if ( attributes is None ) : #NEWLINE# #INDENT# self . attributes = list ( ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . attributes = attributes #NEWLINE# #UNINDENT# self . validate ( )