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
14 lines
287 B
Python
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
|