Skip to content

Commit

Permalink
Format and bump up to 0.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ileodo committed Apr 14, 2024
1 parent 0397da6 commit 4a86b6b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" },
]
Expand Down
3 changes: 2 additions & 1 deletion src/moneywiz_api/model/transaction.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down Expand Up @@ -265,6 +265,7 @@ def validate(self):
self.original_amount * self.original_exchange_rate, abs=0.001
)


@dataclass
class TransferBudgetTransaction(Transaction):
"""
Expand Down

0 comments on commit 4a86b6b

Please sign in to comment.