mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
add TODO comment
This commit is contained in:
parent
09e31c2a98
commit
1c1642c1c5
1 changed files with 3 additions and 1 deletions
|
|
@ -59,7 +59,9 @@ class MagicPlanService:
|
|||
with db_session() as session:
|
||||
session.add(uploaded_file)
|
||||
session.flush()
|
||||
MagicPlanPostgresRepository(session).save(plan, cast(int, uploaded_file.id))
|
||||
MagicPlanPostgresRepository(session).save(
|
||||
plan, cast(int, uploaded_file.id)
|
||||
) # TODO: refactor to use postgres Unit of Work
|
||||
|
||||
return plan
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue