summaryrefslogtreecommitdiffstats
path: root/openbb_terminal
diff options
context:
space:
mode:
authormontezdesousa <79287829+montezdesousa@users.noreply.github.com>2024-03-28 15:37:28 +0000
committerGitHub <noreply@github.com>2024-03-28 15:37:28 +0000
commitce52ef33ec25dd97a6623b1fe22b5df9f1fe224e (patch)
tree7b8977a0ec212de4ddc0715147d06877949e8f92 /openbb_terminal
parent27a6fbbf1694d3f737b0fa040817c9e68ce03343 (diff)
[Bugfix] - Test parametrize skips charting tests (#6264)
* don't skipt charting tests * multiples does not have a charting implementation * fix list index out of range * mypy * mypy * mypy ta class + base * indicators mypy * sync precommit with ci * sync ci with precommit * revert * revert * mypy indicators * fix mypy * fix hastype * type ignore * mypy * mypy * mypy * does this work? * remove post inits * this * this * and this --------- Co-authored-by: hjoaquim <h.joaquim@campus.fct.unl.pt>
Diffstat (limited to 'openbb_terminal')
-rw-r--r--openbb_terminal/core/plots/plotly_ta/ta_class.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbb_terminal/core/plots/plotly_ta/ta_class.py b/openbb_terminal/core/plots/plotly_ta/ta_class.py
index 98dba3a8046..0456cec5fa4 100644
--- a/openbb_terminal/core/plots/plotly_ta/ta_class.py
+++ b/openbb_terminal/core/plots/plotly_ta/ta_class.py
@@ -155,7 +155,7 @@ class PlotlyTA(PltTA):
df_stock = df_stock.to_frame()
if not isinstance(indicators, ChartIndicators):
- indicators = ChartIndicators.from_dict(indicators or dict(dict()))
+ indicators = ChartIndicators.from_dict(indicators or {})
self.indicators = indicators
self.intraday = df_stock.index[-2].time() != df_stock.index[-1].time()