Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
sunlin92 committed Mar 16, 2022
2 parents 76ef0bb + 06b0157 commit fff19cf
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 13 deletions.
3 changes: 1 addition & 2 deletions app/api/cms/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
LoginSchema,
LoginTokenSchema,
UserBaseInfoSchema,
UserPermissionSchema,
UserRegisterSchema,
UserSchema,
)
Expand Down Expand Up @@ -215,7 +214,7 @@ def refresh():
@api.validate(
tags=["用户"],
security=[AuthorizationBearerSecurity],
resp=DocResponse(r=UserPermissionSchema),
# resp=DocResponse(r=UserPermissionSchema), # 当前数据接口无法使用OpenAPI表示
)
def get_allowed_apis():
"""
Expand Down
10 changes: 5 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"

Expand Down
8 changes: 4 additions & 4 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
4 changes: 2 additions & 2 deletions requirements-prod.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit fff19cf

Please sign in to comment.