#NEWLINE# def get_type( cur_type ) : #NEWLINE# #INDENT# ' Can wrap value types if needed ' #NEWLINE# if ( value_type_prefix and isinstance ( cur_type , str ) ) : #NEWLINE# #INDENT# curKey = ( value_type_prefix + cur_type ) #NEWLINE# value_type = value_types . get ( curKey ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# value_type = None #NEWLINE# #UNINDENT# if ( value_type is None ) : #NEWLINE# #INDENT# value_type = value_types . get ( cur_type ) #NEWLINE# #UNINDENT# if ( value_type is None ) : #NEWLINE# #INDENT# value_type = make_type ( cur_type ) #NEWLINE# add_type ( value_type , value_type ) #NEWLINE# #UNINDENT# return value_type