to work with the Manager. Also removes the run method from the runnable.py, since everything is done in the __main__.py file of the pfbudget module.
10 lines
209 B
Python
10 lines
209 B
Python
from abc import ABC, abstractmethod
|
|
|
|
from pfbudget.db.model import Transaction
|
|
|
|
|
|
class Output(ABC):
|
|
@abstractmethod
|
|
def report(self, transactions: list[Transaction]):
|
|
raise NotImplementedError
|