File tree Expand file tree Collapse file tree 2 files changed +0
-49
lines changed
python-sqlite-sqlalchemy/project/examples Expand file tree Collapse file tree 2 files changed +0
-49
lines changed Original file line number Diff line number Diff line change @@ -131,31 +131,6 @@ def main():
131131 book_title = "The Stand" ,
132132 publisher_name = "Random House" ,
133133 )
134- data = add_new_book (
135- data ,
136- author_name = "Tom Clancy" ,
137- book_title = "It" ,
138- publisher_name = "Random House" ,
139- )
140- data = add_new_book (
141- data ,
142- author_name = "Doug Farrell" ,
143- book_title = "Python and SQLite and SqlAlchemy, Oh My" ,
144- publisher_name = "Random House" ,
145- )
146- data = add_new_book (
147- data ,
148- author_name = "Tom Clancy" ,
149- book_title = "It" ,
150- publisher_name = "Real Python" ,
151- )
152- data = add_new_book (
153- data ,
154- author_name = "Tom Clancy" ,
155- book_title = "It" ,
156- publisher_name = "Random House" ,
157- )
158-
159134 # Output the updated hierarchical authors data
160135 output_author_hierarchy (data )
161136
Original file line number Diff line number Diff line change @@ -192,30 +192,6 @@ def main():
192192 book_title = "The Stand" ,
193193 publisher_name = "Random House" ,
194194 )
195- add_new_book (
196- session ,
197- author_name = "Tom Clancy" ,
198- book_title = "It" ,
199- publisher_name = "Random House" ,
200- )
201- add_new_book (
202- session ,
203- author_name = "Doug Farrell" ,
204- book_title = "Python and SQLite and SqlAlchemy, Oh My" ,
205- publisher_name = "Random House" ,
206- )
207- add_new_book (
208- session ,
209- author_name = "Tom Clancy" ,
210- book_title = "It" ,
211- publisher_name = "Real Python" ,
212- )
213- add_new_book (
214- session ,
215- author_name = "Tom Clancy" ,
216- book_title = "It" ,
217- publisher_name = "Random House" ,
218- )
219195 # Output the updated hierarchical authors data
220196 authors = get_authors (session )
221197 output_author_hierarchy (authors )
You can’t perform that action at this time.
0 commit comments