Disable SQLAlchemy Echoing
This commit is contained in:
parent
e099d3e240
commit
eb1785d56c
1 changed files with 1 additions and 1 deletions
2
scl.py
2
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:
|
||||
|
|
Loading…
Reference in a new issue