mirror of
https://github.com/GSA/notifications-api.git
synced 2026-07-18 21:44:41 -04:00
fix get_job_from_s3
This commit is contained in:
@@ -389,7 +389,6 @@ def setup_sqlalchemy_events(app):
|
||||
|
||||
@event.listens_for(db.engine, "connect")
|
||||
def connect(dbapi_connection, connection_record):
|
||||
current_app.logger.debug(f"Using {dbapi_connection} {connection_record}")
|
||||
pass
|
||||
|
||||
@event.listens_for(db.engine, "close")
|
||||
@@ -398,7 +397,6 @@ def setup_sqlalchemy_events(app):
|
||||
|
||||
@event.listens_for(db.engine, "checkout")
|
||||
def checkout(dbapi_connection, connection_record, connection_proxy):
|
||||
current_app.logger.debug(f"Using {dbapi_connection} {connection_proxy}")
|
||||
|
||||
try:
|
||||
# this will overwrite any previous checkout_at timestamp
|
||||
|
||||
Reference in New Issue
Block a user