sort imports for isort

This commit is contained in:
robcaulk 2022-08-17 16:38:09 +02:00
parent 5155afb4e7
commit 88dd9920ea

View File

@ -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"]