diff --git a/pyproject.toml b/pyproject.toml index fe9ae1a..3ccfb14 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta" [project] name = "moneywiz-api" -version = "0.1.1" +version = "0.2.1" authors = [ { name="iLeoDo", email="iLeoDo@gmail.com" }, ] diff --git a/src/moneywiz_api/model/transaction.py b/src/moneywiz_api/model/transaction.py index e809ac8..d8e84f2 100644 --- a/src/moneywiz_api/model/transaction.py +++ b/src/moneywiz_api/model/transaction.py @@ -235,7 +235,7 @@ class RefundTransaction(Transaction): # FX original_currency: str - original_amount: float + original_amount: float original_exchange_rate: Optional[float] def __init__(self, row): @@ -265,6 +265,7 @@ def validate(self): self.original_amount * self.original_exchange_rate, abs=0.001 ) + @dataclass class TransferBudgetTransaction(Transaction): """