Coverage for fastid / notify / config.py: 100%

3 statements  

« prev     ^ index     » next       coverage.py v7.13.1, created at 2026-10-18 16:37 +0000

1from collections.abc import Mapping 

2 

3from fastid.auth.schemas import ContactType 

4from fastid.core.schemas import BaseSettings 

5 

6 

7class NotificationSettings(BaseSettings): 

8 contact_priority: Mapping[ContactType, int] = {ContactType.telegram: 0, ContactType.email: 1} 

9 

10 

11notify_settings = NotificationSettings()