Files @ f2b9decf2752
Branch filter:

Location: NPO-Accounting/experimental-accounting-api/accounting/storage/__init__.py

Joar Wandborg
SQL, GTK

- Made the storage model slightly more flexible
- Made a small P-o-C GUI application in GTK
- Polished accounting.client
- models.Transaction.id is now a str
- Fixed transaction.id marshalling for storage.ledgercli

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()