mirror of
https://github.com/GSA/notifications-api.git
synced 2026-08-20 14:29:25 -04:00
Made enums.py for all the enums to avoid cyclic imports.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
This commit is contained in:
@@ -32,15 +32,9 @@ from app.dao.users_dao import (
|
||||
update_user_password,
|
||||
use_user_code,
|
||||
)
|
||||
from app.enums import NotificationType, TemplateType, VerifyCodeType
|
||||
from app.errors import InvalidRequest, register_errors
|
||||
from app.models import (
|
||||
KEY_TYPE_NORMAL,
|
||||
NotificationType,
|
||||
Permission,
|
||||
Service,
|
||||
TemplateType,
|
||||
VerifyCodeType,
|
||||
)
|
||||
from app.models import KEY_TYPE_NORMAL, Permission, Service
|
||||
from app.notifications.process_notifications import (
|
||||
persist_notification,
|
||||
send_notification_to_queue,
|
||||
|
||||
Reference in New Issue
Block a user