File tree Expand file tree Collapse file tree 9 files changed +688
-17
lines changed Expand file tree Collapse file tree 9 files changed +688
-17
lines changed Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change @@ -34,8 +34,7 @@ DATABASE_PASSWORD='123456'
34
34
PostgreSQL,例如:
35
35
36
36
``` python:no-line-numbers
37
- # [!code word:with_variant]
38
- remark: Mapped[str | None] = mapped_column(LONGTEXT().with_variant(TEXT, 'postgresql'))
37
+ remark: Mapped[str | None] = mapped_column(LONGTEXT().with_variant(TEXT, 'postgresql')) # [!code word:with_variant]
39
38
```
40
39
41
40
- 删除 ` with_variant ` 相关代码并且仅保留数据库对应的类型
Original file line number Diff line number Diff line change 2
2
title : 分页
3
3
---
4
4
5
- coming soon...
5
+ 需等待 PR
6
+ 合并:[ Allow to have multiple Query parameter models] ( https://github.com/fastapi/fastapi/pull/12944#pullrequestreview-2588580175 )
Original file line number Diff line number Diff line change @@ -17,12 +17,12 @@ FastAPI 三层架构脚手架精简版的更新可能并不同步,你可能无
17
17
18
18
## Tortoise-ORM
19
19
20
- ==不太推荐== 如果您正在使用 Tortoise-ORM(或您是一位 Django 资深用户,并深爱 Django-ORM),请使用以下版本,但此版本缺少维护人员
20
+ ==不太推荐=={.note} 如果您正在使用 Tortoise-ORM(或您是一位 Django 资深用户,并深爱 Django-ORM),请使用以下版本,但此版本缺少维护人员
21
21
22
22
<RepoCard repo =" fastapi-practices/fastapi_tortoise_mysql " />
23
23
24
24
## SQLModel
25
25
26
- ==不推荐== SQLModel 是 FastAPI 作者创建的 ORM 框架,整合了 SQLAlchemy 和 Pydantic,如果您喜欢强耦合开发,请使用以下版本,但此版本基本没有维护
26
+ ==不推荐=={.warning} SQLModel 是 FastAPI 作者创建的 ORM 框架,整合了 SQLAlchemy 和 Pydantic,如果您喜欢强耦合开发,请使用以下版本,但此版本基本没有维护
27
27
28
28
<RepoCard repo =" fastapi-practices/fastapi_sqlmodel_mysql " />
Original file line number Diff line number Diff line change @@ -29,9 +29,9 @@ import NpmBadge from 'vuepress-theme-plume/features/NpmBadge.vue'
29
29
30
30
## 开放性
31
31
32
- - MIT 协议 + 架构源码全开源
33
- - 模板仓库,便捷复制和自主命名
34
- - 架构内没有任何以 ` fba ` 强制命名的内容,也就是说,你可以通过 IDE 快捷替换所有 ` fba ` 参数为其他
32
+ - MIT 协议 + 架构源码全量开源
33
+ - GitHub 模板仓库,便捷复制和自主命名
34
+ - 架构内没有任何以 ` fba ` 强制命名的内容,也就是说,你可以通过 IDE 快捷替换所有 ` fba ` 参数为自定义
35
35
36
36
## 长期维护
37
37
Original file line number Diff line number Diff line change @@ -16,13 +16,17 @@ title: 知识星球
16
16
</div >
17
17
:::
18
18
19
- ## 教程
19
+ ## 文章
20
20
21
21
- <Icon name =" fluent-color:receipt-16 " /> 纯文字文章
22
22
- <Icon name =" fluent-color:video-16 " /> 带有视频讲解的文章
23
23
24
24
### fba 专属
25
25
26
+ ::: note
27
+ 此分类下的文章主要应用于 fba 架构,可能无法应用于其他三方架构方案
28
+ :::
29
+
26
30
<CardGrid >
27
31
<LinkCard
28
32
title="操作人信息"
@@ -64,6 +68,10 @@ title: 知识星球
64
68
65
69
### FastAPI 通用
66
70
71
+ ::: note
72
+ 此分类下的文章可应用于任何基于 FastAPI 框架开发的架构
73
+ :::
74
+
67
75
<CardGrid >
68
76
<LinkCard
69
77
title="Socketio"
@@ -83,13 +91,21 @@ title: 知识星球
83
91
84
92
<CardGrid >
85
93
<LinkCard
86
- title="日志分析 "
94
+ title="空 "
87
95
icon="fluent-color: receipt-16 "
88
- href="/planet"
89
- description="即将到来..."
96
+ description="..."
90
97
/>
91
98
</CardGrid >
92
99
93
100
## 插件
94
101
95
- 即将到来...
102
+ ::: note
103
+ 此分类下的插件仅可应用于 fba 架构的 [ 插件系统] ( ./plugin/market.md )
104
+ :::
105
+
106
+ <CardGrid >
107
+ <LinkCard
108
+ title="空"
109
+ description="..."
110
+ />
111
+ </CardGrid >
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ title: 插件市场
62
62
63
63
## 安装
64
64
65
- 插件安装方式大致可分为两种
65
+ 插件安装方式可分为两种
66
66
67
67
### 手动
68
68
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ fba 是一款基于 FastAPI 框架的后端架构解决方案,遵循伪三层
21
21
您可以加入我们创建的 [ 知识星球] ( https://t.zsxq.com/PDk8b ) ,获取星球内提供的独家内容,另外,我们会为您添加 Discord
22
22
身份标签,以便将您加入专属频道,针对标签用户,我们还可以提供一对一线上指导,远程支持等...
23
23
24
- 请注意,我们不保证星球内容的更新频率,您可以==依据星球规则进行全额退款 ==,我们鼓励大家[ 参与贡献] ( https://github.com/fastapi-practices/fastapi_best_architecture/tree/master/backend#readme )
24
+ 请注意,我们不保证星球内容的更新频率,==您可以依据星球规则进行全额退款 ==,我们鼓励大家[ 参与贡献] ( https://github.com/fastapi-practices/fastapi_best_architecture/tree/master/backend#readme )
25
25
,如果您能为 Issues 提供 PR,并且被审核通过,我们将向您发送大额优惠券或免费邀请(基于 PR 质量)
26
26
27
27
## 展位赞助商
Original file line number Diff line number Diff line change @@ -4,7 +4,8 @@ title: 谁在使用?
4
4
5
5
> [ !IMPORTANT]
6
6
> 如果您/您所在的企业/组织使用了 fba
7
- > 进行项目开发,我们诚挚的邀请您参与:[ 用户登记] ( https://github.com/fastapi-practices/fastapi_best_architecture/issues/477 )
7
+ >
8
+ 进行项目开发,我们诚挚的邀请您参与:[ 用户登记] ( https://github.com/fastapi-practices/fastapi_best_architecture/issues/477 )
8
9
>
9
10
> 1 . ** 无偿登记** :您的登记完全免费,我们郑重承诺,并且绝对不会在任何阶段向您收取任何形式的使用费用,也不会将您的信息用于商业盈利或其他非公开目的
10
11
> 2 . ** 优先支持** :登记后,您将被视为我们的优质用户,我们的维护团队将优先响应您在实际使用过程中遇到的问题
@@ -19,7 +20,7 @@ title: 谁在使用?
19
20
<ImageCard
20
21
image="https://wu-clan.github.io/picx-images-hosting/fba.png "
21
22
title="fba"
22
- description="基于 FastAPI 框架的后端架构解决方案 ,遵循伪三层架构设计, 支持 Python 3.10 及以上版本"
23
+ description="基于 FastAPI 框架的企业级后端架构解决方案 ,遵循伪三层架构设计, 支持 Python 3.10 及以上版本"
23
24
href="https://fastapi-practices.github.io/fastapi_best_architecture_docs/ "
24
25
/>
25
26
</CardGrid >
You can’t perform that action at this time.
0 commit comments