fix: stock_weekly/monthly/watchlist_log加manual readers消除写无读警告
This commit is contained in:
@@ -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, {})
|
||||
|
||||
Reference in New Issue
Block a user