def __init__(self, days_to_run: List[int], start_hour: int, start_minute: int, end_hour: int, end_minute: int, cta_train_api_key: str, stop_id: int): self._mainWindow = MainWindow.get() super().__init__(days_to_run, start_hour, start_minute, end_hour, end_minute, self._mainWindow, tk.NE, 25, 15) self._ctaTrainClient = CtaTrainClient(cta_train_api_key) self._stop_id = stop_id
def __init__(self, days_to_run: List[int], start_hour: int, start_minute: int, end_hour: int, end_minute: int, zip: str, openweather_api_key: str): self._mainWindow = MainWindow.get() super().__init__(days_to_run, start_hour, start_minute, end_hour, end_minute, self._mainWindow, tk.SW, 25, 15) self._openweatherClient = OpenweatherClient(openweather_api_key) self._zip = zip
def __init__(self, days_to_run: List[int], start_hour: int, start_minute: int, end_hour: int, end_minute: int, unplash_api_key: str, orientation: str, unsplash_collections: list): super().__init__(days_to_run, start_hour, start_minute, end_hour, end_minute) self._unsplashClient = UnsplashClient(unplash_api_key) self._mainWindow = MainWindow.get() self._orientation = orientation self._photoImage = None self._backgroundImage = None self._collections = unsplash_collections
def __init__(self, days_to_run: List[int], start_hour: int, start_minute: int, end_hour: int, end_minute: int): self._mainWindow = MainWindow.get() super().__init__(days_to_run, start_hour, start_minute, end_hour, end_minute, self._mainWindow, tk.SE, 25, 15)