superset-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From johnbod...@apache.org
Subject [incubator-superset] 25/43: fix flake8
Date Fri, 11 Jan 2019 02:22:29 GMT
This is an automated email from the ASF dual-hosted git repository.

johnbodley pushed a commit to branch feature--embeddable-charts-pilot
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git

commit f75a849d2bcea9a53d304ca84f1e0183119fc2ee
Author: Conglei Shi <conglei.shi@airbnb.com>
AuthorDate: Wed Dec 12 17:47:02 2018 -0800

    fix flake8
---
 superset/views/api.py | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/superset/views/api.py b/superset/views/api.py
index 969dcb9..e5a9462 100644
--- a/superset/views/api.py
+++ b/superset/views/api.py
@@ -5,14 +5,14 @@ from flask import request
 from flask_appbuilder import expose
 from flask_appbuilder.security.decorators import has_access_api
 
-import superset.models.core as models
-
 from superset import appbuilder, db, security_manager
 from superset.common.query_context import QueryContext
 from superset.legacy import update_time_range
+import superset.models.core as models
 from superset.models.core import Log
 from .base import api, BaseSupersetView, handle_api_exception
 
+
 class Api(BaseSupersetView):
     @Log.log_this
     @api
@@ -52,5 +52,4 @@ class Api(BaseSupersetView):
         return json.dumps(form_data)
 
 
-
 appbuilder.add_view_no_menu(Api)


Mime
View raw message