feat: enhance database session management with commit and rollback; add user and deal API tests
Test / test (push) Successful in 14s
Test / test (push) Successful in 14s
This commit is contained in:
@@ -108,6 +108,7 @@ class DealRepository:
|
||||
if hasattr(deal, field):
|
||||
setattr(deal, field, value)
|
||||
await self._session.flush()
|
||||
await self._session.refresh(deal)
|
||||
return deal
|
||||
|
||||
def _apply_filters(
|
||||
|
||||
Reference in New Issue
Block a user