[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

@@ -23,7 +23,7 @@ from superset.utils import core as utils
from .helpers import get_example_data, TBL
def load_flights(only_metadata=False, force=False):
def load_flights(only_metadata: bool = False, force: bool = False) -> None:
"""Loading random time series data from a zip file in the repo"""
tbl_name = "flights"
database = utils.get_example_database()