mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
chore(OAuth2): refactor for custom OAuth2 clients (#27880)
This commit is contained in:
@@ -73,7 +73,7 @@ class PrestoDBSQLValidator(BaseSQLValidator):
|
||||
from pyhive.exc import DatabaseError
|
||||
|
||||
try:
|
||||
db_engine_spec.execute(cursor, sql, database.id)
|
||||
db_engine_spec.execute(cursor, sql, database)
|
||||
polled = cursor.poll()
|
||||
while polled:
|
||||
logger.info("polling presto for validation progress")
|
||||
|
||||
Reference in New Issue
Block a user