hy144328 commented on code in PR #40277:
URL: https://github.com/apache/superset/pull/40277#discussion_r3434316979
##########
superset/db_engine_specs/gsheets.py:
##########
@@ -407,7 +408,7 @@ def validate_parameters(
try:
url = url.replace('"', '""')
- results = conn.execute(f'SELECT * FROM "{url}" LIMIT 1') #
noqa: S608
+ results = conn.execute(text(f'SELECT * FROM "{url}" LIMIT 1'))
# noqa: S608
Review Comment:
Beyond the scope of this PR.
--
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]