Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove unused imports #3621

Merged
merged 2 commits into from
Oct 9, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion superset/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,6 @@ def index(self):

sm = appbuilder.sm

get_session = appbuilder.get_session
results_backend = app.config.get("RESULTS_BACKEND")

# Registering sources
Expand Down
1 change: 0 additions & 1 deletion superset/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
from __future__ import unicode_literals

import logging
from celery.bin import worker as celery_worker
from datetime import datetime
from subprocess import Popen

Expand Down
4 changes: 2 additions & 2 deletions superset/connectors/druid/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import sqlalchemy as sa
from sqlalchemy import (
Column, Integer, String, ForeignKey, Text, Boolean,
DateTime, or_, and_,
DateTime, or_,
)
from sqlalchemy.orm import backref, relationship
from dateutil.parser import parse as dparse
Expand All @@ -30,7 +30,7 @@

from flask_babel import lazy_gettext as _

from superset import conf, db, import_util, utils, sm, get_session
from superset import conf, db, import_util, utils, sm
from superset.utils import (
flasher, MetricPermException, DimSelector, DTTM_ALIAS
)
Expand Down
2 changes: 0 additions & 2 deletions superset/connectors/druid/views.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
from datetime import datetime
import logging

import sqlalchemy as sqla

from flask import Markup, flash, redirect
from flask_appbuilder import CompactCRUDMixin, expose
from flask_appbuilder.models.sqla.interface import SQLAInterface
Expand Down
2 changes: 0 additions & 2 deletions superset/connectors/sqla/views.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
"""Views used by the SqlAlchemy connector"""
import logging
from past.builtins import basestring

from flask import Markup, flash, redirect
from flask_appbuilder import CompactCRUDMixin, expose
from flask_appbuilder.models.sqla.interface import SQLAInterface
import sqlalchemy as sa

from flask_babel import lazy_gettext as _
from flask_babel import gettext as __
Expand Down