1 # pylint: disable=too-few-public-methods
3 from o2common.config import config
6 SMO_O2_ENDPOINT = config.get_smo_o2endpoint()
9 class AbstractNotifications(abc.ABC):
11 def send(self, message):
12 raise NotImplementedError
15 class SmoO2Notifications(AbstractNotifications):
16 def __init__(self, smoO2Endpoint=SMO_O2_ENDPOINT):
17 self.smoO2Endpoint = smoO2Endpoint
19 def send(self, message):