Skip to content

Commit

Permalink
fix: expected form types
Browse files Browse the repository at this point in the history
  • Loading branch information
EduardSchwarzkopf committed Oct 21, 2024
1 parent 35abcc9 commit f089da1
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion app/utils/template_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,14 @@ async def populate_transaction_form_category_choices(


async def populate_transaction_form_frequency_choices(
form: schemas.CreateScheduledTransactionForm,
form: Type[
Union[
schemas.CreateScheduledTransactionForm,
schemas.UpdateScheduledTransactionForm,
schemas.UpdateTransactionForm,
schemas.CreateTransactionForm,
]
]
) -> None:
"""
Populates the frequency choices in the transaction form.
Expand Down

0 comments on commit f089da1

Please sign in to comment.