mirror of
https://github.com/apache/superset.git
synced 2026-04-07 18:35:15 +00:00
chore(pylint): Reenable import-outside-toplevel check (#16263)
Co-authored-by: John Bodley <john.bodley@airbnb.com>
This commit is contained in:
@@ -65,6 +65,7 @@ class PrestoDBSQLValidator(BaseSQLValidator):
|
||||
# engine spec's handle_cursor implementation since we don't record
|
||||
# these EXPLAIN queries done in validation as proper Query objects
|
||||
# in the superset ORM.
|
||||
# pylint: disable=import-outside-toplevel
|
||||
from pyhive.exc import DatabaseError
|
||||
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user