fix: stock_weekly/monthly/watchlist_log加manual readers消除写无读警告

This commit is contained in:
知微
2026-07-10 21:12:28 +08:00
parent e92e4473c8
commit ab72288296
+7
View File
@@ -823,8 +823,15 @@ def build_report():
"stock_weekly": ["mofin_db"],
"stock_monthly": ["mofin_db"],
}
_manual_readers = {
"stock_weekly": ["multi_timeframe"],
"stock_monthly": ["multi_timeframe"],
"watchlist_log": ["watchlist_auto_exit", "mofin_db"],
}
if not writers and tname in _manual_writers:
writers = _manual_writers[tname]
if not readers and tname in _manual_readers:
readers = _manual_readers[tname]
# 数据流详细描述
flow_detail = FLOW_DETAIL.get(tname, {})