From 3f149c40673871c6056b97f02c89c97f7eaf7f8b Mon Sep 17 00:00:00 2001 From: robcaulk Date: Tue, 26 Jul 2022 16:01:54 +0200 Subject: [PATCH] fix return type in BaseTensorFlowModel --- freqtrade/freqai/prediction_models/BaseTensorFlowModel.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/freqtrade/freqai/prediction_models/BaseTensorFlowModel.py b/freqtrade/freqai/prediction_models/BaseTensorFlowModel.py index d14ac0eee..bfbd5aa46 100644 --- a/freqtrade/freqai/prediction_models/BaseTensorFlowModel.py +++ b/freqtrade/freqai/prediction_models/BaseTensorFlowModel.py @@ -1,5 +1,5 @@ import logging -from typing import Tuple +from typing import Any from pandas import DataFrame @@ -27,7 +27,7 @@ class BaseTensorFlowModel(IFreqaiModel): def train( self, unfiltered_dataframe: DataFrame, pair: str, dk: FreqaiDataKitchen - ) -> Tuple[DataFrame, DataFrame]: + ) -> Any: """ Filter the training data and train a model to it. Train makes heavy use of the datakitchen for storing, saving, loading, and analyzing the data.