Original summary in English
## Summary by Sourcery
Prioritize the use of GitHub API over jsDelivr API by changing the order of API strategy preference.
Enhancements:
- Change the order of API strategy preference to prioritize GitHub API over jsDelivr API.
此拉取请求更改了 GitHub utils 模块中 API 策略的顺序,优先考虑 GitHub API 而不是 jsDelivr API。
文件级更改
更改
详情
文件
重新排序 API 策略列表以优先考虑 GitHub API
将 github_api 移动到 api_strategy 列表的第一个位置
将 jsdelivr_api 移动到 api_strategy 列表的第二个位置
zhenxun/utils/github_utils/__init__.py
提示
- 通过在拉取请求中评论 `@sourcery-ai review` 来触发新的 Sourcery 审核。
- 通过直接回复审核评论继续与 Sourcery 的讨论。
- 您可以随时通过访问您的[仪表板](https://app.sourcery.ai)来更改审核设置:
- 启用或禁用 Sourcery 生成的拉取请求摘要或审核指南;
- 更改审核语言;
- 如果您有任何问题或反馈,您可以随时[联系我们](mailto:support@sourcery.ai)。
Original review guide in English
## Reviewer's Guide by Sourcery
This pull request changes the order of API strategies in the GitHub utils module, prioritizing the GitHub API over the jsDelivr API.
### File-Level Changes
| Change | Details | Files |
| ------ | ------- | ----- |
| Reordered API strategy list to prioritize GitHub API |
Moved github_api to the first position in the api_strategy list
Moved jsdelivr_api to the second position in the api_strategy list
| `zhenxun/utils/github_utils/__init__.py` |
---
Tips
- Trigger a new Sourcery review by commenting `@sourcery-ai review` on the pull request.
- Continue your discussion with Sourcery by replying directly to review comments.
- You can change your review settings at any time by accessing your [dashboard](https://app.sourcery.ai):
- Enable or disable the Sourcery-generated pull request summary or reviewer's guide;
- Change the review language;
- You can always [contact us](mailto:support@sourcery.ai) if you have any questions or feedback.
Summary by Sourcery
通过更改API策略优先顺序,优先使用GitHub API而不是jsDelivr API。
增强功能:
Original summary in English
## Summary by Sourcery Prioritize the use of GitHub API over jsDelivr API by changing the order of API strategy preference. Enhancements: - Change the order of API strategy preference to prioritize GitHub API over jsDelivr API.