Dynamic attribute access via getattr()
Low
- Category
- Dangerous Code Execution
- Content
# 填充缺失值 if fill_method: for key in list(panels.keys()): panels[key] = getattr(panels[key], fill_method)() # ── vwap ────────────────────────────────────────────────────────── vol_safe = panels["volume"].replace(0, np.nan)- Confidence
- 86% confidence
- Finding
- panels[key] = getattr(panels[key], fill_method)()
