⚡ LTS: Core - #116
Open
1shin-7 wants to merge 14 commits into
Open
Conversation
额外安装不够现实,对于hoshino(nb1)可以用nonebot.log
- 实现部分下载器功能 - 优化结构
* 格式化代码 * 优化Import
* 拆分downloader * 添加BuiltinIndex 未完成
!Config并不理想,直接使用Pydantic可能会更好
!氵代码 懒得想json怎么搞注释了
简单的Config实现。 * 支持使用pydantic Model & Field 作为值 * 支持在配置类中的键发生改变时同步更新toml文件 * 就像使用pydantic Model一样简单!
* 下载器
* 重写DownloadItem
* 自动校验url可用性
* 优化文件名获取逻辑
* 重写部分下载逻辑
* 添加重写本地文件参数
* 资源索引
* 实现AssetIndex和OnlineAssetIndex
* OnlineAssetIndex支持多个url
* 对多个AssetIndex url使用异步下载
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Core分支,暂不Merge