Fixed typos

This commit is contained in:
2025-11-06 18:37:22 -05:00
parent bf3bd1b147
commit 764078562a
3 changed files with 4 additions and 3 deletions

1
.gitignore vendored
View File

@@ -195,3 +195,4 @@ cython_debug/
.DS_Store .DS_Store
output/* output/*
.vscode/settings.json

View File

@@ -42,7 +42,7 @@ match the column names of the database schema.
## load.py ## load.py
Takes the JSON file created by transform.py and loads the data into a PostgreSQL database for Takes the JSON file created by transform.py and loads the data into a PostgreSQL database for
retreival later. retrieval later.
## orchestrator.py ## orchestrator.py
Handles the orchestration of each program being ran one after the other. Ensures each Handles the orchestration of each program being ran one after the other. Ensures each

View File

@@ -50,7 +50,7 @@ def load_transformed_books(cursor, books):
`collection_item` SQL table `collection_item` SQL table
''' '''
for book in books['books']: for book in books['books']:
# This for i in range statment simulates a library buying multiple copies of a book. # This for i in range statement simulates a library buying multiple copies of a book.
try: try:
for i in range(random.randrange(1, 10)): for i in range(random.randrange(1, 10)):
cursor.execute(sql_statements.collection_insert_statement(book)) cursor.execute(sql_statements.collection_insert_statement(book))