mirror of
https://github.com/EstrellaXD/Auto_Bangumi.git
synced 2026-11-21 03:12:06 +08:00
Drop the rss/torrent/bangumi @property proxies that RSSEngine and TorrentManager exposed so the migration could keep the old Database-is-a-Session call style working. Services now use self.db.<repo> internally, and call sites reach repos through the Database they already hold: pure-repo API routes use the injected db directly (dropping a pointless RSSEngine/TorrentManager construction), and internal callers use db.<repo> / engine.db.<repo>. Contract-preserving: the black-box API tests are unchanged; white-box tests that mocked the service repo-proxies now mock at the Database seam. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014w1Z6Nxy6XTRgkFXqPr9Zh