#NEWLINE# def __init__( self , name , default_val , val_type , field_type = ConfigType . NORMAL , category = None , flag = None , nargs = None , widget_type = None , widget_options = None , depends_on = None ) : #NEWLINE# #INDENT# self . name = name #NEWLINE# self . default_val = default_val #NEWLINE# self . val_type = widget_type #NEWLINE# self . field_type = field_type #NEWLINE# self . category = category #NEWLINE# self . flag = flag #NEWLINE# self . nargs = nargs #NEWLINE# self . widget_type = widget_type #NEWLINE# if ( widget_options is not None ) : #NEWLINE# #INDENT# self . widget_options = widget_options #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . widget_options = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# #UNINDENT# self . depends_on = depends_on