feat: 更新思维导图

This commit is contained in:
eric
2022-12-21 12:24:27 +08:00
parent 8ea3f30b87
commit e826659700
5 changed files with 39 additions and 19 deletions

View File

@@ -6,14 +6,10 @@
官网文档友好
uvicorn是python库,pip包, 不能在linux直接安装 [异步web服务部署]
gunicorn是linux库
使用虚拟环境
生成requirement.txt
@@ -22,8 +18,6 @@ gunicorn是linux库
docker部署
## pydantic
https://docs.pydantic.dev/
@@ -36,28 +30,20 @@ dict与obj的区别
vscode python开插件
数据库操作orm sqlalchemy
![Screen Shot 2022-12-14 at 09.18.40.png](/Users/eric/Documents/marktext/images/81d743fc638bdf36deb3829680cf523ff1e1febd.png)
<img src="file:///Users/eric/Documents/marktext/images/81d743fc638bdf36deb3829680cf523ff1e1febd.png" title="" alt="Screen Shot 2022-12-14 at 09.18.40.png" width="441">
路径参数/查询参数/请求体
终端启动命令
![Screen Shot 2022-12-14 at 09.25.34.png](/Users/eric/Documents/marktext/images/df5cda3b9ab14fb62674851490b8d6b3f0d88e91.png)
<img src="file:///Users/eric/Documents/marktext/images/df5cda3b9ab14fb62674851490b8d6b3f0d88e91.png" title="" alt="Screen Shot 2022-12-14 at 09.25.34.png" width="443">
也可以在程序内启动
![Screen Shot 2022-12-14 at 09.38.52.png](/Users/eric/Documents/marktext/images/ab9cc13c0a827c617e0eee658d8b7b33d23242d1.png)
<img src="file:///Users/eric/Documents/marktext/images/ab9cc13c0a827c617e0eee658d8b7b33d23242d1.png" title="" alt="Screen Shot 2022-12-14 at 09.38.52.png" width="455">
异步async await
大型应用目录结构设计