Skip to content

Commit

Permalink
chore: fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
mikonse committed Feb 4, 2024
1 parent 541dff7 commit e3c0afd
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions abrechnung/application/accounts.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,9 +155,11 @@ async def list_accounts(self, *, conn: Connection, user: User, group_id: int) ->
group_id,
)
return [
ClearingAccount.model_validate(dict(row))
if row["type"] == AccountType.clearing.value
else PersonalAccount.model_validate(dict(row))
(
ClearingAccount.model_validate(dict(row))
if row["type"] == AccountType.clearing.value
else PersonalAccount.model_validate(dict(row))
)
for row in rows
]

Expand Down

0 comments on commit e3c0afd

Please sign in to comment.