improve: introduce isort for linting Python imports (#1983)
This commit is contained in:
parent
cca9edc97a
commit
cc9e74123c
413 changed files with 1635 additions and 1906 deletions
|
|
@ -1,13 +1,13 @@
|
|||
# -*- coding:utf-8 -*-
|
||||
from functools import wraps
|
||||
|
||||
from extensions.ext_database import db
|
||||
from flask import request
|
||||
from flask_restful import Resource
|
||||
from libs.passport import PassportService
|
||||
from models.model import App, EndUser, Site
|
||||
from werkzeug.exceptions import NotFound, Unauthorized
|
||||
|
||||
from extensions.ext_database import db
|
||||
from models.model import App, EndUser, Site
|
||||
from libs.passport import PassportService
|
||||
|
||||
def validate_jwt_token(view=None):
|
||||
def decorator(view):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue