From ae1b28aab756adbef0fc64b0194a3b38a2ad0686 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sat, 28 Dec 2019 14:32:11 +0100 Subject: [PATCH] Remove get_datahandlerclass from package exposes --- freqtrade/data/history/__init__.py | 2 +- tests/data/test_history.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/freqtrade/data/history/__init__.py b/freqtrade/data/history/__init__.py index 572c063fc..23f635a98 100644 --- a/freqtrade/data/history/__init__.py +++ b/freqtrade/data/history/__init__.py @@ -11,4 +11,4 @@ from .history_utils import (convert_trades_to_ohlcv, # noqa: F401 refresh_backtest_ohlcv_data, refresh_backtest_trades_data, refresh_data, validate_backtest_data) -from .idatahandler import get_datahandler, get_datahandlerclass # noqa: F401 +from .idatahandler import get_datahandler # noqa: F401 diff --git a/tests/data/test_history.py b/tests/data/test_history.py index 404f52e87..2341673db 100644 --- a/tests/data/test_history.py +++ b/tests/data/test_history.py @@ -13,13 +13,13 @@ from pandas.testing import assert_frame_equal from freqtrade.configuration import TimeRange from freqtrade.data.converter import parse_ticker_dataframe -from freqtrade.data.history import get_datahandler, get_datahandlerclass from freqtrade.data.history.history_utils import ( _download_pair_history, _download_trades_history, _load_cached_data_for_updating, convert_trades_to_ohlcv, get_timerange, load_data, load_pair_history, refresh_backtest_ohlcv_data, refresh_backtest_trades_data, refresh_data, validate_backtest_data) -from freqtrade.data.history.idatahandler import IDataHandler +from freqtrade.data.history.idatahandler import (IDataHandler, get_datahandler, + get_datahandlerclass) from freqtrade.data.history.jsondatahandler import (JsonDataHandler, JsonGzDataHandler) from freqtrade.exchange import timeframe_to_minutes