Feature: 使用自定义配置加载替代 pydantic-settings (#2521)

Co-authored-by: uy/sun <hmy0119@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
Ju4tCode
2024-01-15 13:24:55 +08:00
committed by GitHub
parent 6c532f5926
commit 1153c5ff17
6 changed files with 520 additions and 180 deletions

View File

@ -28,10 +28,11 @@ include = ["nonebot/py.typed"]
python = "^3.8"
yarl = "^1.7.2"
pygtrie = "^2.4.1"
pydantic = "^1.10.0"
loguru = ">=0.6.0,<1.0.0"
python-dotenv = ">=0.21.0,<2.0.0"
typing-extensions = ">=4.4.0,<5.0.0"
tomli = { version = "^2.0.1", python = "<3.11" }
pydantic = { version = "^1.10.0", extras = ["dotenv"] }
websockets = { version = ">=10.0", optional = true }
Quart = { version = ">=0.18.0,<1.0.0", optional = true }