This repository has been archived on 2026-10-02. You can view files and clone it. You cannot open issues or pull requests or push a commit.
snowy-yang
0dbbb3ed63
refactor: 移除 music_api 的 16 个死掉的同步兼容门面
music_api/compat.py 是「同步调用异步实现」的桥接门面——每个方法都用
core.async_bridge.run_sync 把 NeteaseAPI 的协程跑起来。调用方此前已陆续
迁到原生异步(await NeteaseAPI().xxx()),这 16 个方法在仓内(web/
services/ tests/ CLI)已零调用,只剩 __init__ 的再导出,属迁移期残留。
仅 url_v1 还有唯一调用方(music_api.podcast 的同步解析路径),予以保留,
并在 docstring 标注「应删不应增」,待 worker 子系统异步化时一并清除。
门禁:ruff 全过 / pyright 0-0 / pytest 387 项,失败数与前次一致(2 项
index golden,源于未提交的前端迁移,与本次无关)。
2026-09-27 17:51:22 +08:00
..
2026-09-27 17:51:22 +08:00
2026-09-26 12:37:48 +08:00
2026-09-27 10:53:48 +08:00
2026-09-26 12:37:48 +08:00
2026-09-27 17:51:22 +08:00
2026-09-26 12:37:48 +08:00
2026-09-26 12:37:48 +08:00
2026-09-26 14:16:05 +08:00
2026-09-26 12:37:48 +08:00
2026-09-27 11:00:50 +08:00
2026-09-26 15:03:47 +08:00
2026-09-26 12:37:48 +08:00