#NEWLINE# def __init__( self , config_or_yaml_file ) : #NEWLINE# #INDENT# if isinstance ( config_or_yaml_file , Config ) : #NEWLINE# #INDENT# super ( Config , self ) . __init__ ( config_or_yaml_file ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# for k in dir ( config_or_yaml_file ) : #NEWLINE# #INDENT# if ( not k . startswith ( '_' ) ) : #NEWLINE# #INDENT# setattr ( self , k , getattr ( config_or_yaml_file , k ) ) #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# self . __inited = True