Luís Murta 0a42db8995
Persists banks information and requisition ID
This patch saves the bank information in the DB, in a new table. It also
adds two new CLI commands, register/unregister, so enter the banking
information. (This should later be done internally).

It also adds new types alias for the DB transaction type and new
converters.
Input `transactions` method renamed to `parse`.

Issue #18
2022-10-06 22:22:56 +01:00

14 lines
287 B
Python

from abc import ABC, abstractmethod
from pfbudget.core.transactions import Transactions
class Input(ABC):
@abstractmethod
def __init__(self, options: dict):
self.options = options
@abstractmethod
def parse(self) -> Transactions:
return NotImplemented