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

Class SMS_Notification

src/inheritance.py:24–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22 print(f'priority: {self.priority} message: "{message}"')
23
24class SMS_Notification(Notification_Service):
25
26 def __init__(self, priority, from_nr):
27 super().__init__(priority)
28 self.from_nr = from_nr
29
30 def send(self, to_nr, message):
31 super().send(self.from_nr, to_nr, message)
32 print(f'sending SMS from:{self.from_nr} to:{to_nr}')
33 print(f'priority: {self.priority} message: "{message}"')
34
35email = Email_Notification(2, 'support@company.com')
36email.send('customer@email.com', 'Your report is ready')

Callers 1

inheritance.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected