#!/usr/bin/env python3 from abc import ABC, abstractmethod from typing import Tuple class trigger(ABC): """Base class for something that can trigger a page becomming active.""" PRIORITY_HIGH = 100 PRIORITY_NORMAL = 50 PRIORITY_LOW = 0 @abstractmethod def get_triggered_page_list(self) -> Tuple[str, int]: pass