mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
chore(pylint): Reenable import-outside-toplevel check (#16263)
Co-authored-by: John Bodley <john.bodley@airbnb.com>
This commit is contained in:
@@ -179,6 +179,7 @@ def add_data(
|
||||
:param str table_name: name of table, will be created if it doesn't exist
|
||||
:param bool append: if the table already exists, append data or replace?
|
||||
"""
|
||||
# pylint: disable=import-outside-toplevel
|
||||
from superset.utils.core import get_example_database
|
||||
|
||||
database = get_example_database()
|
||||
|
||||
Reference in New Issue
Block a user