diff --git a/main.py b/main.py index 074931c70099a20b571572047845dbed8045f821..08cf9d17c7fbf62feb692ca3efbef377bfb8fbcf 100644 --- a/main.py +++ b/main.py @@ -1,3 +1,5 @@ +import string + from fastf1.core import Session from fastf1.events import Event @@ -37,10 +39,11 @@ class Main: def testNewRainRaceFetching(self): dataHandler: Main.DataHandlingPackage = Main.DataHandlingPackage() - weather = dataHandler.importer.fetchWeather(self.racesToAnalyse) + weather: list[string] = dataHandler.importer.fetchWeather(self.racesToAnalyse) print(weather) - - + for w in weather: + isWet: bool = dataHandler.analyser.isWet(w) + print(isWet) def printRainRaces(self): dataHandler: Main.DataHandlingPackage = Main.DataHandlingPackage()