feat: move login_required wrapper outside (#1281)
This commit is contained in:
parent
b711ce33b7
commit
024250803a
32 changed files with 44 additions and 65 deletions
|
|
@ -2,8 +2,8 @@ from cachetools import TTLCache
|
|||
from flask import request, current_app
|
||||
|
||||
import services
|
||||
from core.login.login import login_required
|
||||
from flask_restful import Resource, marshal_with, fields
|
||||
from libs.login import login_required
|
||||
from flask_restful import Resource, marshal_with
|
||||
|
||||
from controllers.console import api
|
||||
from controllers.console.datasets.error import NoFileUploadedError, TooManyFilesError, FileTooLargeError, \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue