chore: Improve typing

This commit is contained in:
Matthias 2024-08-23 18:18:05 +02:00
parent 01b7ad4a3f
commit e87927564b

View File

@ -323,7 +323,7 @@ class Exchange:
asyncio.set_event_loop(loop) asyncio.set_event_loop(loop)
return loop return loop
def validate_config(self, config): def validate_config(self, config: Config) -> None:
# Check if timeframe is available # Check if timeframe is available
self.validate_timeframes(config.get("timeframe")) self.validate_timeframes(config.get("timeframe"))