Refactor Dashboard and Slice models (#8820)

* refactor dashboard and slice models

* appease various linters

* remove shortcuts & import indirection

* appease mypy

* fix bad imports

* lint

* address various issues

* ignore type issue

* remove unused imports

* lint
This commit is contained in:
David Aaron Suddjian
2019-12-18 11:40:45 -08:00
committed by Maxime Beauchemin
parent cbf860074b
commit 016f202423
34 changed files with 929 additions and 838 deletions

View File

@@ -17,9 +17,10 @@
import json
from superset import db
from superset.models.slice import Slice
from .birth_names import load_birth_names
from .helpers import merge_slice, misc_dash_slices, Slice
from .helpers import merge_slice, misc_dash_slices
from .world_bank import load_world_bank_health_n_pop