Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /freqtrade_freqtrade /freqtrade /configuration /config_setup.py
| import logging | |
| from typing import Any | |
| from freqtrade.enums import RunMode | |
| from .config_validation import validate_config_consistency | |
| from .configuration import Configuration | |
| logger = logging.getLogger(__name__) | |
| def setup_utils_configuration( | |
| args: dict[str, Any], method: RunMode, *, set_dry: bool = True | |
| ) -> dict[str, Any]: | |
| """ | |
| Prepare the configuration for utils subcommands | |
| :param args: Cli args from Arguments() | |
| :param method: Bot running mode | |
| :return: Configuration | |
| """ | |
| configuration = Configuration(args, method) | |
| config = configuration.get_config() | |
| # Ensure these modes are using Dry-run | |
| if set_dry: | |
| config["dry_run"] = True | |
| validate_config_consistency(config, preliminary=True) | |
| return config | |
Xet Storage Details
- Size:
- 768 Bytes
- Xet hash:
- 2454d1b041b474e7fd6c1320846b659a94d26d8b4336c8eb207b8db0c9e54591
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.