Skip to content

Commit

Permalink
fix: formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
lchen-2101 committed Jan 17, 2024
1 parent 814bf7a commit 0a1e519
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/entities/repos/institutions_repo.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,9 @@ async def upsert_institution(session: AsyncSession, fi: FinancialInstitutionDto)

if "sbl_institution_types" in fi_data:
types_association = [
SblTypeMappingDao(type_id=t) if isinstance(t, str) else SblTypeMappingDao(type_id=t.id, details=t.details)
SblTypeMappingDao(type_id=t)
if isinstance(t, str)
else SblTypeMappingDao(type_id=t.id, details=t.details)
for t in fi.sbl_institution_types
]
fi_data["sbl_institution_types"] = types_association
Expand Down

0 comments on commit 0a1e519

Please sign in to comment.