#NEWLINE# def build_sample_db( ) : #NEWLINE# #INDENT# db . drop_all ( ) #NEWLINE# db . create_all ( ) #NEWLINE# user_obj1 = User ( 'Paul' , 'Brown' , 'pbrown' , 'paul@gmail.com' ) #NEWLINE# user_obj2 = User ( 'Luke' , 'Brown' , 'lbrown' , 'luke@gmail.com' ) #NEWLINE# user_obj3 = User ( 'Serge' , 'Koval' , 'skoval' , 'serge@gmail.com' ) #NEWLINE# db . session . add_all ( [ user_obj1 , user_obj2 , user_obj1 ] ) #NEWLINE# db . session . commit ( )