[mypy] Enforcing typing for superset.examples (#9469)

Co-authored-by: John Bodley <john.bodley@airbnb.com>
This commit is contained in:
John Bodley
2020-04-06 09:11:49 -07:00
committed by GitHub
parent c0807c1af7
commit dcb7b8350e
22 changed files with 75 additions and 49 deletions

View File

@@ -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)