diff --git a/app/api/cms/user.py b/app/api/cms/user.py index 8ae9457..c24c534 100644 --- a/app/api/cms/user.py +++ b/app/api/cms/user.py @@ -38,7 +38,6 @@ LoginSchema, LoginTokenSchema, UserBaseInfoSchema, - UserPermissionSchema, UserRegisterSchema, UserSchema, ) @@ -215,7 +214,7 @@ def refresh(): @api.validate( tags=["用户"], security=[AuthorizationBearerSecurity], - resp=DocResponse(r=UserPermissionSchema), + # resp=DocResponse(r=UserPermissionSchema), # 当前数据接口无法使用OpenAPI表示 ) def get_allowed_apis(): """ diff --git a/pyproject.toml b/pyproject.toml index b8f91e5..39ac74e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,10 +12,10 @@ default = true [tool.poetry.dependencies] python = "^3.8" Lin-CMS = "^0.4.8" -pillow = "^9.0.0" +pillow = "^9.0.1" flask-cors = "^3.0.10" gunicorn = "^20.1.0" -gevent = "^21.8.0" +gevent = "^21.12.0" flask-socketio = "^5.1.1" blinker = "^1.4" python-dotenv = "^0.19.2" @@ -24,12 +24,12 @@ pydantic = {extras = ["email"], version = "^1.9.0"} [tool.poetry.dev-dependencies] flask-sqlacodegen = "^1.1.8" -black = "^21.10b0" +black = "^21.12b0" isort = "^5.10.1" watchdog = "^2.1.6" -coverage = "^6.1.2" +coverage = "^6.3.2" pytest = "^6.2.5" -pre-commit = "^2.16.0" +pre-commit = "^2.17.0" pytest-ordering = "^0.6" flake8 = "^4.0.1" diff --git a/requirements-dev.txt b/requirements-dev.txt index f8314e5..1e43a41 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,5 +1,5 @@ Lin-CMS==0.4.8 -pillow==9.0.0 +pillow==9.0.1 flask-cors==3.0.10 gunicorn==20.1.0 gevent==21.8.0 @@ -8,11 +8,11 @@ blinker==1.4 python-dotenv==0.19.2 gevent-websocket==0.10.1 flask-sqlacodegen==1.1.8 -black==21.10b0 +black==21.12b0 isort==5.10.1 watchdog==2.1.6 -coverage==6.1.2 +coverage==6.3.2 pytest==6.2.5 -pre-commit==2.16.0 +pre-commit==2.17.0 pytest-ordering==0.6 flake8==4.0.1 diff --git a/requirements-prod.txt b/requirements-prod.txt index 183e718..63e9944 100644 --- a/requirements-prod.txt +++ b/requirements-prod.txt @@ -1,8 +1,8 @@ Lin-CMS==0.4.8 -pillow==9.0.0 +pillow==9.0.1 flask-cors==3.0.10 gunicorn==20.1.0 -gevent==21.8.0 +gevent==21.12.0 flask-socketio==5.1.1 blinker==1.4 python-dotenv==0.19.2