The _get_stock_stats_bulk() function uses pd.isna() but pandas was not imported in y_finance.py. It worked by accident because stockstats_utils was imported first and loaded pandas into the module namespace. This fragile implicit dependency breaks if import order changes. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| alpha_vantage.py | ||
| alpha_vantage_common.py | ||
| alpha_vantage_fundamentals.py | ||
| alpha_vantage_indicator.py | ||
| alpha_vantage_news.py | ||
| alpha_vantage_stock.py | ||
| config.py | ||
| interface.py | ||
| stockstats_utils.py | ||
| utils.py | ||
| y_finance.py | ||
| yfinance_news.py | ||