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

@@ -78,7 +78,8 @@ def get_month_from_utc_column(column):
def get_public_notify_type_text(notify_type, plural=False):
from app.models import UPLOAD_DOCUMENT, NotificationType
from app.enums import NotificationType
from app.models import UPLOAD_DOCUMENT
notify_type_text = notify_type
if notify_type == NotificationType.SMS: