#NEWLINE# def __init__( self , dataset , name , model_class ) : #NEWLINE# #INDENT# self . dataset = dataset #NEWLINE# self . name = name #NEWLINE# if ( model_class is None ) : #NEWLINE# #INDENT# model_class = self . _create_model ( ) #NEWLINE# model_class . create_table ( ) #NEWLINE# self . dataset . _models [ name ] = model_class