budget/pfbudget/extract/extract.py
Luís Murta d7bdafa62a
Rename input -> extract
Trying to follow the common ETL pattern naming.
2023-04-12 19:51:10 +01:00

10 lines
198 B
Python

from abc import ABC, abstractmethod
from pfbudget.db.model import Transaction
class Extract(ABC):
@abstractmethod
def parse(self) -> list[Transaction]:
return NotImplementedError