From 404c6fb1a3aa8e19db25a5c53098ce4f8a917fd7 Mon Sep 17 00:00:00 2001 From: navanchauhan Date: Sun, 22 May 2022 11:42:00 -0600 Subject: cleaned with black --- pc2rec.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'pc2rec.py') diff --git a/pc2rec.py b/pc2rec.py index d427dad..b802631 100644 --- a/pc2rec.py +++ b/pc2rec.py @@ -10,7 +10,9 @@ from sqlalchemy import func movie_name = "Forrest Gump" with engine.connect() as conn: - movie_deets = select(movies_table).filter(func.lower(movies_table.columns.title)==func.lower(movie_name)) - result = conn.execute(movie_deets) - for row in result: - print(row) \ No newline at end of file + movie_deets = select(movies_table).filter( + func.lower(movies_table.columns.title) == func.lower(movie_name) + ) + result = conn.execute(movie_deets) + for row in result: + print(row) -- cgit v1.2.3