[storage] Added add_transaction abstract method
This commit is contained in:
parent
873cff4229
commit
751341c267
1 changed files with 4 additions and 0 deletions
|
@ -26,6 +26,10 @@ class Storage():
|
|||
def get_accounts(self, *args, **kw):
|
||||
raise NotImplementedError
|
||||
|
||||
@abstractmethod
|
||||
def add_transaction(self, transaction):
|
||||
raise NotImplementedError
|
||||
|
||||
@abstractmethod
|
||||
def update_transaction(self, transaction):
|
||||
raise NotImplementedError
|
||||
|
|
Loading…
Reference in a new issue