mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-01 23:55:58 -05: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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user