Coverage for apps/accounts/directory_schemas.py: 100%

9 statements  

« prev     ^ index     » next       coverage.py v7.17.0, created at 2026-11-04 14:06 +0000

1"""Ninja schemas for GET /api/loan-officers and GET /api/staff.""" 

2 

3from ninja import Schema 

4 

5 

6class LoanOfficerOptionOut(Schema): 

7 id: int 

8 name: str 

9 licensed_states: list[str] 

10 

11 

12class StaffOptionOut(Schema): 

13 id: int 

14 name: str 

15 role: str