4 lines
132 B
Python
4 lines
132 B
Python
# 从项目根目录导入应用实例
|
|
from main import app
|
|
|
|
# 使用uvicorn app.main:app启动时会使用这个导入的app实例 |