Coverage for app/ddd/application/uow/group_uow.py: 100%

7 statements  

« prev     ^ index     » next       coverage.py v7.6.10, created at 2025-01-15 01:44 +0000

1from sqlmodel import Session 

2 

3from app.core.base import BaseUnitOfWork 

4from app.ddd.domain.repository import GroupRepository 

5 

6 

7class GroupUnitOfWork(BaseUnitOfWork): 

8 def __init__(self, session: Session, group_repository: GroupRepository) -> None: 

9 """Group用UnitOfWork.""" 

10 super().__init__(session) 

11 self.group_repository = group_repository