diff --git a/freqtrade/commands/build_config_commands.py b/freqtrade/commands/build_config_commands.py index 79256db1d..7bdbcc057 100644 --- a/freqtrade/commands/build_config_commands.py +++ b/freqtrade/commands/build_config_commands.py @@ -1,6 +1,6 @@ import logging from pathlib import Path -from typing import Any, Dict +from typing import Any, Dict, List from questionary import Separator, prompt @@ -48,7 +48,7 @@ def ask_user_config() -> Dict[str, Any]: Interactive questions built using https://github.com/tmbo/questionary :returns: Dict with keys to put into template """ - questions = [ + questions: List[Dict[str, Any]] = [ { "type": "confirm", "name": "dry_run", diff --git a/requirements.txt b/requirements.txt index 7d219f7ff..51313c32c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -34,5 +34,5 @@ flask-cors==3.0.9 # Support for colorized terminal output colorama==0.4.3 # Building config files interactively -questionary==1.5.2 +questionary==1.6.0 prompt-toolkit==3.0.7