Skip to content

Commit 6c177fa

Browse files
committed
fix uvicorn support >=0.18.2
fix uvicorn version more then 0.18.2 support, remove debug flag Kludex/uvicorn#1640 from 0.19.0 version
1 parent 8397405 commit 6c177fa

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

examples/api_for_sqlalchemy/main.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ def create_app() -> FastAPI:
5757
"asgi:app",
5858
host="0.0.0.0",
5959
port=8082,
60-
debug=True,
6160
reload=True,
6261
app_dir=str(CURRENT_DIR),
6362
)

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
SQLAlchemy>=1.4.39,<2.0.0
22
pydantic>=1.9.1
33
fastapi>=0.79.0
4-
uvicorn>=0.18.2,<0.20.0
4+
uvicorn>=0.18.2
55
simplejson>=3.17.6
66
tortoise-orm>=0.19.2

0 commit comments

Comments
 (0)