From eb1785d56c0d7efd9dd5fe02d7c345012212cbc5 Mon Sep 17 00:00:00 2001 From: Liam Steckler Date: Wed, 31 Jan 2024 21:36:32 -0800 Subject: [PATCH] Disable SQLAlchemy Echoing --- scl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scl.py b/scl.py index 61b84a1..4987404 100644 --- a/scl.py +++ b/scl.py @@ -120,7 +120,7 @@ class SclOutage(Base): return f"SclOutage(scl_outage_id={self.scl_outage_id!r}, most_recent_post_id={self.most_recent_post_id!r}, initial_post_id={self.initial_post_id!r}, map_media_post_id={self.map_media_post_id!r}, last_updated_time={self.last_updated_time!r}, no_longer_in_response_time={self.no_longer_in_response_time!r}), start_time={self.start_time!r}), num_people={self.num_people!r}), max_num_people={self.max_num_people!r})" -engine = create_engine("sqlite:///scl.db", echo=True) +engine = create_engine("sqlite:///scl.db") Base.metadata.create_all(engine) with Session(engine) as session: