![Joar Wandborg](/assets/img/avatar_default.png)
- Added Storage ABC - Moved Ledger class to storage/ledgercli.py - Added SQL requirements to requirements.txt
19 lines
454 B
Python
19 lines
454 B
Python
|
|
class Storage:
|
|
'''
|
|
ABC for accounting storage
|
|
'''
|
|
def __init__(self, *args, **kw):
|
|
raise NotImplementedError()
|
|
|
|
def get_transactions(self, *args, **kw):
|
|
raise NotImplementedError()
|
|
|
|
def get_transaction(self, *args, **kw):
|
|
raise NotImplementedError()
|
|
|
|
def get_account(self, *args, **kw):
|
|
raise NotImplementedError()
|
|
|
|
def get_accounts(self, *args, **kw):
|
|
raise NotImplementedError()
|