#NEWLINE# def get_extension( self , ext_name , * args ) : #NEWLINE# #INDENT# self . _check_finalized ( ) #NEWLINE# self . _load_default_config_if_necessary ( ext_name ) #NEWLINE# ext_config = self . _raw_config [ ext_name ] #NEWLINE# ext_cls = self . ext_loader . get_extension_class ( ext_name ) #NEWLINE# if ( ext_cls . kind not in [ 'workload' , 'device' , 'instrument' , 'result_processor' ] ) : #NEWLINE# #INDENT# self . other_config [ ext_name ] = ext_config #NEWLINE# #UNINDENT# return self . ext_loader . get_extension ( ext_name , * args , ** ext_config )