mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-08 03:11:22 +00:00
raise if not implemented
This commit is contained in:
1 file changed
+1
-1
@@ -32,7 +32,7 @@ class NotificationMethod:
|
|||||||
self.recipiends = self.get_recipiends()
|
self.recipiends = self.get_recipiends()
|
||||||
|
|
||||||
def get_recipiends(self):
|
def get_recipiends(self):
|
||||||
return False
|
raise NotImplementedError('The `get_recipiends` method must be implemented!')
|
||||||
|
|
||||||
def cleanup(self):
|
def cleanup(self):
|
||||||
return True
|
return True
|
||||||
|
|||||||
Reference in new issue
Block a user