diff options
author | navanchauhan <navanchauhan@gmail.com> | 2022-05-22 11:42:00 -0600 |
---|---|---|
committer | navanchauhan <navanchauhan@gmail.com> | 2022-05-22 11:42:00 -0600 |
commit | 404c6fb1a3aa8e19db25a5c53098ce4f8a917fd7 (patch) | |
tree | 578b9b21384b889c37b7f9ab2268456e05da8a96 /pc2rec.py | |
parent | 801289d123b6e598110a5a1af96605fce9573f7c (diff) |
cleaned with black
Diffstat (limited to 'pc2rec.py')
-rw-r--r-- | pc2rec.py | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -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) |