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:
Cliff Hill
2024-01-10 12:32:25 -05:00
parent ac9591ec7c
commit 3982f061b6
31 changed files with 149 additions and 155 deletions

View File

@@ -16,12 +16,8 @@ from app.dao.notifications_dao import (
dao_create_notification,
dao_delete_notifications_by_id,
)
from app.models import (
KEY_TYPE_TEST,
NOTIFICATION_CREATED,
Notification,
NotificationType,
)
from app.enums import NotificationType
from app.models import KEY_TYPE_TEST, NOTIFICATION_CREATED, Notification
from app.v2.errors import BadRequestError