Coverage for app/ddd/presentation/schema/group/group_response.py: 100%

10 statements  

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

1 

2 

3from app.core.base import BaseResponse 

4from app.ddd.domain.model import Group 

5 

6 

7class GetGroupResponse(BaseResponse): 

8 group: Group 

9 

10class CreateGroupResponse(BaseResponse): 

11 group: Group 

12 

13# class PatchGroupResponse(BaseResponse): 

14# group_id: str 

15 

16class DeleteGroupResponse(BaseResponse): 

17 group_id: str 

18 

19class QueryGroupResponse(BaseResponse): 

20 groups: list[Group]