From 88dd9920ea9dd66c17a55fad4d6fb69cacefb8c2 Mon Sep 17 00:00:00 2001 From: robcaulk Date: Wed, 17 Aug 2022 16:38:09 +0200 Subject: [PATCH] sort imports for isort --- freqtrade/strategy/interface.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/freqtrade/strategy/interface.py b/freqtrade/strategy/interface.py index 20a35ac3e..1e51701f7 100644 --- a/freqtrade/strategy/interface.py +++ b/freqtrade/strategy/interface.py @@ -148,9 +148,9 @@ class IStrategy(ABC, HyperStrategyMixin): def load_freqAI_model(self) -> None: if self.config.get('freqai', {}).get('enabled', False): # Import here to avoid importing this if freqAI is disabled + from freqtrade.freqai.data_kitchen import (download_all_data_for_training, + get_required_data_timerange) from freqtrade.resolvers.freqaimodel_resolver import FreqaiModelResolver - from freqtrade.freqai.data_kitchen import (get_required_data_timerange, - download_all_data_for_training) self.freqai = FreqaiModelResolver.load_freqaimodel(self.config) self.freqai_info = self.config["freqai"]