From f5a5c2d6b9b6c14ff878808f7e757272d0fc9d64 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sat, 8 Apr 2023 16:44:33 +0200 Subject: [PATCH] Improve imports --- freqtrade/persistence/__init__.py | 2 +- freqtrade/rpc/rpc.py | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/freqtrade/persistence/__init__.py b/freqtrade/persistence/__init__.py index c69a54b7f..4cf7aa455 100644 --- a/freqtrade/persistence/__init__.py +++ b/freqtrade/persistence/__init__.py @@ -1,6 +1,6 @@ # flake8: noqa: F401 -from freqtrade.persistence.key_value_store import KeyValueStore +from freqtrade.persistence.key_value_store import KeyStoreKeys, KeyValueStore from freqtrade.persistence.models import init_db from freqtrade.persistence.pairlock_middleware import PairLocks from freqtrade.persistence.trade_model import LocalTrade, Order, Trade diff --git a/freqtrade/rpc/rpc.py b/freqtrade/rpc/rpc.py index dc1c4c080..05ea848f7 100644 --- a/freqtrade/rpc/rpc.py +++ b/freqtrade/rpc/rpc.py @@ -26,8 +26,7 @@ from freqtrade.exceptions import ExchangeError, PricingError from freqtrade.exchange import timeframe_to_minutes, timeframe_to_msecs from freqtrade.loggers import bufferHandler from freqtrade.misc import decimals_per_coin, shorten_date -from freqtrade.persistence import KeyValueStore, Order, PairLocks, Trade -from freqtrade.persistence.key_value_store import KeyStoreKeys +from freqtrade.persistence import KeyStoreKeys, KeyValueStore, Order, PairLocks, Trade from freqtrade.persistence.models import PairLock from freqtrade.plugins.pairlist.pairlist_helpers import expand_pairlist from freqtrade.rpc.fiat_convert import CryptoToFiatConverter