1 Star 0 Fork 3

上善若水/TestPlatformByYangLiang

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
web_main.py 598 Bytes
一键复制 编辑 原始数据 按行查看 历史
yangliang 提交于 2022-08-22 18:03 . 新增api
import uvicorn
from apscheduler.schedulers.asyncio import AsyncIOScheduler
from apscheduler.schedulers.background import BackgroundScheduler
from pytz import utc
from variable import dependent_data, executors
# dependent_data["sched"] = AsyncIOScheduler(executors=executors, timezone="Asia/Shanghai")
dependent_data["ground_sched"] = BackgroundScheduler(executors=executors, timezone="Asia/Shanghai")
if __name__ == '__main__':
# uvicorn.run(app="controller:app", host="0.0.0.0", port=1650, reload=True)
uvicorn.run(app="controller:app", host="0.0.0.0", port=1650)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/civins/TestPlatformByYangLiang.git
git@gitee.com:civins/TestPlatformByYangLiang.git
civins
TestPlatformByYangLiang
TestPlatformByYangLiang
master

搜索帮助