多一层目录时 #
# Dir Tree just like:
# .
# ├── app
# │ ├── __init__.py
# │ └── main.py
# ├── Dockerfile
# └── requirements.txt
如果在app
同级目录,而非app
下运行时:
uvicorn app.main:app --reload
# Dir Tree just like:
# .
# ├── app
# │ ├── __init__.py
# │ └── main.py
# ├── Dockerfile
# └── requirements.txt
如果在app
同级目录,而非app
下运行时:
uvicorn app.main:app --reload