Commit Graph

106 Commits

Author SHA1 Message Date
Ju4tCode
bbd13c04cc
Feature: 兼容 Pydantic v2 (#2544)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-01-26 11:12:57 +08:00
Bryan不可思议
8f3f385cb6
🐛 Fix: 新增 Lifespan._on_ready() 供适配器使用 (#2483)
Co-authored-by: Ju4tCode <42488585+yanyongyu@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-12-10 18:12:10 +08:00
Ju4tCode
2e635370bb
Feature: 细化 driver 职责类型 (#2296) 2023-08-26 11:03:24 +08:00
Ju4tCode
6dc87a9455
use typing.override instead (#2193) 2023-07-17 15:56:27 +08:00
Ju4tCode
3d5dd5969c
🚨 Develop: 添加 ruff linter (#2114) 2023-06-24 14:47:35 +08:00
Ju4tCode
a8a76393a5
Feature: 重构驱动器 lifespan 方法 (#1860) 2023-03-29 15:59:54 +08:00
scdhh
4c0d4065c5
Use raise from e when load driver error (#1689) 2023-02-09 10:24:27 +08:00
Ju4tCode
87e767fa25
remove default fastapi installation (#1557) 2023-01-06 20:07:28 +08:00
Akirami
006b9dd816
Feature: 支持给 FastAPIQuart 传递额外的参数 (#1543) 2023-01-04 12:58:26 +08:00
Ju4tCode
1644615462
🔖 bump version 2.0.0rc2 2022-11-24 03:35:31 +00:00
Ju4tCode
4974c596ec
💥 remove Python 3.7 support (#1148) 2022-08-14 19:41:00 +08:00
Ju4tCode
bb1b94e5e3
🔖 bump version 2.0.0-beta.5 (#1122) 2022-08-04 14:14:50 +08:00
Ju4tCode
56f99b7f0b
Feat: 支持 WebSocket 连接同时获取 str 或 bytes (#962) 2022-05-14 21:06:57 +08:00
yanyongyu
118519e15d
♻️ reorganize internal tree 2022-02-06 17:08:11 +08:00
yanyongyu
924d9b6536
✏️ fix changelog and typing 2022-02-06 15:24:41 +08:00
yanyongyu
fd11e2696b
♻️ reorganize class and add bot hook di 2022-02-06 14:52:50 +08:00
AkiraXie
a68a6e2659 ✏️ fix typo in fastapi 2022-02-04 15:13:31 +08:00
yanyongyu
c4e204001e 💡 add docstrings 2022-01-22 15:23:07 +08:00
yanyongyu
93aec6d3f6 🏷️ add pre-commit flow 2022-01-15 21:27:43 +08:00
hemengyang
98deadb4d6 粗略过一遍,修复一眼可见的问题 2022-01-12 19:41:42 +08:00
hemengyang
ec06010298 令标题符合 markdown 语法 2022-01-12 19:24:01 +08:00
hemengyang
4ba1a09fb7 使用 markdown 格式的强调语法 2022-01-12 18:19:21 +08:00
hemengyang
0099364838 删除说明前缀 2022-01-12 18:16:05 +08:00
hemengyang
705a6f7fbf 删除类型 2022-01-12 18:00:56 +08:00
yanyongyu
d82f0c6310 ⚗️ add config option for fastapi 2022-01-11 15:03:17 +08:00
明见
096f0d72f1
从 Fastapi 的文档中排除驱动器的 HTTP 上报地址 2022-01-08 22:19:45 +08:00
yanyongyu
23d0b2509e 🐛 fix ws close exception not catch in server 2021-12-30 12:11:31 +08:00
yanyongyu
f06b78054c 🔥 remove debug option 2021-12-28 15:19:53 +08:00
yanyongyu
80258fe2d4 ⚗️ add support for data json file 2021-12-24 23:15:28 +08:00
yanyongyu
8fb394e4c3 ⚗️ new driver combine expr support 2021-12-23 17:20:26 +08:00
yanyongyu
0839d6d062 🐛 fix import error for extra dependencies 2021-12-23 14:29:21 +08:00
yanyongyu
b984f99643 🐛 fix missing endpoint name for routing 2021-12-22 18:50:16 +08:00
yanyongyu
fecdb5367a ⬆️ upgrade dependencies 2021-12-22 16:53:55 +08:00
yanyongyu
9b2fa46921 ✏️ add typing 2021-12-21 18:22:14 +08:00
yanyongyu
ea8f7717b9 ♻️ rewrite quart driver 2021-12-20 15:46:23 +08:00
yanyongyu
ca045b2f73 🚧 rewrite fastapi driver implementation 2021-12-18 23:19:37 +08:00
yanyongyu
d80c02ae46 ♻️ rewrite adapter abc class 2021-12-06 22:19:05 +08:00
Ju4tCode
aea961b346
Update nonebot/drivers/fastapi.py 2021-12-04 14:15:00 +08:00
yanyongyu
226fc0feb3 🐛 fix http2 for fastapi 2021-12-02 20:52:39 +08:00
yanyongyu
b92c1a0b33 ⚗️ add option for ws reconnect 2021-11-30 12:24:09 +08:00
yanyongyu
37f55652d9 ♻️ separate fastapi driver 2021-11-27 12:16:31 +08:00
yanyongyu
a98d98cd12 🎨 format code using black and isort 2021-11-22 23:21:26 +08:00
yanyongyu
471d306e13 ⚗️ change rule to use handler 2021-11-19 18:18:53 +08:00
yanyongyu
d10f557212 ⬆️ upgrade dependencies 2021-10-21 00:37:09 +08:00
yanyongyu
c81c0578e3 🐛 fix fastapi forward header duplicate (fix #560) 2021-10-11 17:53:49 +08:00
yanyongyu
94b98b74b9 ⚗️ add fastapi/quart uvicorn configs 2021-10-02 15:35:15 +08:00
yanyongyu
3452880b16 ⚗️ add fastapi reload include/exclude 2021-09-30 01:22:12 +08:00
yanyongyu
161cfbe1b8 ⚗️ add more uvicorn config 2021-09-28 21:20:29 +08:00
yanyongyu
cfdebb30b7 🐛 fix log not escaped in forward driver 2021-09-25 19:14:16 +08:00
yanyongyu
b5f2b1a76d 🐛 fix fastapi driver ws missing header 2021-08-25 23:04:48 +08:00