3 from typing import List, Optional, Tuple
5 import kiosk_constants as constants
10 class gcal_trigger(trigger.trigger):
11 def get_triggered_page_list(self) -> Optional[List[Tuple[str, int]]]:
12 if globals.get("gcal_triggered"):
13 print("****** gcal has an imminent upcoming event. ******")
14 return [(constants.gcal_imminent_pagename, trigger.trigger.PRIORITY_HIGH)]
19 # globals.put('gcal_triggered', True)
21 # x.get_triggered_page_list()