2022-09-25 06:47:10 +02:00
|
|
|
"""
|
|
|
|
|
This file is part of Linspector (https://linspector.org/)
|
2022-09-27 06:07:55 +02:00
|
|
|
Copyright (c) 2022 Johannes Findeisen <you@hanez.org>. All Rights Reserved.
|
2022-09-28 08:27:51 +02:00
|
|
|
See LICENSE (MIT license)
|
2022-09-25 06:47:10 +02:00
|
|
|
"""
|
2022-09-28 02:04:50 +02:00
|
|
|
from linspector.core.notification import Notification
|
|
|
|
|
|
2022-09-25 06:47:10 +02:00
|
|
|
|
2022-10-06 02:42:15 +02:00
|
|
|
def create(configuration, environment, log):
|
|
|
|
|
return CallNotification(configuration, environment, log)
|
2022-09-27 21:18:47 +02:00
|
|
|
|
|
|
|
|
|
2022-09-28 02:04:50 +02:00
|
|
|
class CallNotification(Notification):
|
2022-10-06 02:42:15 +02:00
|
|
|
def __init__(self, configuration, environment, log):
|
|
|
|
|
super().__init__(configuration, environment, log)
|
2022-09-25 06:47:10 +02:00
|
|
|
self.__configuration = configuration
|
|
|
|
|
self.__environment = environment
|
2022-10-06 02:42:15 +02:00
|
|
|
self.__log = log
|