Skip to content

Commit

Permalink
doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Sha-yol committed Dec 3, 2024
1 parent 0fdabab commit 6d8b7c8
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions strategies/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,11 @@
class TransactionStrategy(ABC):
@abstractmethod
def create_transactions(self, exp: Expense, myshare: ExpenseUser, data: list[str]) -> list:
"""
Create transactions for the given expense and user's share of the expense.
:param exp: Expense to create transactions from
:param myshare: ExpenseUser object representing the user's share in the expense
:param data: List of strings containing additional data for the transaction
"""
pass

0 comments on commit 6d8b7c8

Please sign in to comment.