mirror of
https://github.com/apache/superset.git
synced 2026-04-19 16:14:52 +00:00
[mypy] Enforcing typing for superset.examples (#9469)
Co-authored-by: John Bodley <john.bodley@airbnb.com>
This commit is contained in:
@@ -26,7 +26,7 @@ from superset.utils.core import get_example_database
|
||||
from .helpers import get_example_data, TBL
|
||||
|
||||
|
||||
def load_bart_lines(only_metadata=False, force=False):
|
||||
def load_bart_lines(only_metadata: bool = False, force: bool = False) -> None:
|
||||
tbl_name = "bart_lines"
|
||||
database = get_example_database()
|
||||
table_exists = database.has_table_by_name(tbl_name)
|
||||
|
||||
Reference in New Issue
Block a user