
CodexandClaude Opus 4.7
e7faceeb5f
拆分 fudai_detail_orchestrator (1043 → 2 个子模块 + 17 行 shim)
把 douyin/fudai/core/fudai_detail_orchestrator.py 按 2 个独立顶层函数拆成
douyin/fudai/core/fudai_detail_orchestrator_pkg/ 子包:
- read_once (546) read_fudai_detail_once 单次福袋详情识别
- read_with_retries (513) read_fudai_detail_with_retries 带重试版本
原文件改为 17 行 re-export shim,2 个公共符号全部保留。
- read_fudai_detail_once 5 处外部引用
- read_fudai_detail_with_retries 5 处外部引用
全部不需修改。
子包名 _pkg 后缀避免与同目录 shim 文件 fudai_detail_orchestrator.py 冲突。
回归:
- 3 个新文件 + shim compileall 通过
- pytest 353 passed / 1 skipped
- 旧 import 路径与新子包路径返回同一函数对象
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-21 17:23:02 +08:00
..
2026-05-21 17:23:02 +08:00
2026-05-21 16:47:45 +08:00
2025-12-30 23:11:34 +08:00
2026-01-25 16:58:15 +08:00
2026-05-21 12:06:23 +08:00
2026-05-21 12:01:16 +08:00
2026-05-21 08:46:11 +08:00
2026-05-21 08:46:11 +08:00
2026-05-21 17:23:02 +08:00
2026-05-21 08:46:11 +08:00
2026-05-21 08:46:11 +08:00
2026-05-21 08:46:11 +08:00
2026-05-21 16:47:45 +08:00
2026-01-04 09:43:57 +08:00
2026-01-02 02:17:33 +08:00