#NEWLINE# def __init__( self , klass , values , meta ) : #NEWLINE# #INDENT# self . klass = klass #NEWLINE# if ( 'columns' in meta . keys ( ) ) : #NEWLINE# #INDENT# meta [ 'column_types' ] = Util . convert_to_columns_list ( meta [ 'columns' ] , 'type' ) #NEWLINE# meta [ 'columns' ] = Util . convert_to_columns_list ( meta [ 'columns' ] , 'name' ) #NEWLINE# #UNINDENT# converted_column_names = Util . convert_column_names ( meta ) #NEWLINE# if hasattr ( klass , 'get_code_from_meta' ) : #NEWLINE# #INDENT# self . values = list ( [ klass ( klass . get_code_from_meta ( x ) , x , meta = meta , converted_column_names = converted_column_names ) for x in values ] ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . values = list ( [ klass ( x , meta = meta , converted_column_names = converted_column_names ) for x in values ] ) #NEWLINE# #UNINDENT# self . meta = meta