Skip to content

Commit

Permalink
chore: remove duplicate DashboardFilter class and change imports acco…
Browse files Browse the repository at this point in the history
…rdingly (apache#12405)

* chore: remove duplicate DashboardFilter class and change imports accordingly

* fix: pre-commit isort issue
  • Loading branch information
amitmiran137 authored and amitmiran137 committed Jan 14, 2021
1 parent 84e670c commit 64a22f0
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 90 deletions.
2 changes: 1 addition & 1 deletion superset/views/chart/mixin.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
from flask import Markup
from flask_babel import lazy_gettext as _

from superset.dashboards.filters import DashboardFilter
from superset.views.chart.filters import SliceFilter
from superset.views.dashboard.filters import DashboardFilter


class SliceMixin: # pylint: disable=too-few-public-methods
Expand Down
88 changes: 0 additions & 88 deletions superset/views/dashboard/filters.py

This file was deleted.

2 changes: 1 addition & 1 deletion superset/views/dashboard/mixin.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
# under the License.
from flask_babel import lazy_gettext as _

from ...dashboards.filters import DashboardFilter
from ..base import check_ownership
from .filters import DashboardFilter


class DashboardMixin: # pylint: disable=too-few-public-methods
Expand Down

0 comments on commit 64a22f0

Please sign in to comment.