michael-s-molina commented on code in PR #31265:
URL: https://github.com/apache/superset/pull/31265#discussion_r1868113262
##########
superset/db_engine_specs/trino.py:
##########
@@ -216,6 +216,8 @@ def handle_cursor(cls, cursor: Cursor, query: Query) ->
None:
if tracking_url := cls.get_tracking_url(cursor):
query.tracking_url = tracking_url
+ db.session.commit()
Review Comment:
Maybe move the global override to the line?
```suggestion
db.session.commit() # pylint: disable=consider-using-transaction
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]