MCPcopy Create free account
hub / github.com/bterwijn/memory_graph / Email_Notification

Class Email_Notification

src/inheritance.py:13–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11 Notification_Service.message_count += 1
12
13class Email_Notification(Notification_Service):
14
15 def __init__(self, priority, from_email):
16 super().__init__(priority)
17 self.from_email = from_email
18
19 def send(self, to_email, message):
20 super().send(self.from_email, to_email, message)
21 print(f'sending Email from:{self.from_email} to:{to_email}')
22 print(f'priority: {self.priority} message: "{message}"')
23
24class SMS_Notification(Notification_Service):
25

Callers 1

inheritance.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected