mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-24 16:24:08 -04:00
Localize notification_utils to the Admin!
This changeset copies everything in notifications_utils to turn into a local project module. It includes dependency changes to account for this adjustment and the notifications_utils tests. It also fixes all of the import statements. Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
from flask import abort, current_app
|
||||
from notifications_utils.serialised_model import SerialisedModelCollection
|
||||
from werkzeug.utils import cached_property
|
||||
|
||||
from app.models import JSONModel, SortByNameMixin
|
||||
@@ -15,6 +14,7 @@ from app.notify_client.organizations_api_client import organizations_client
|
||||
from app.notify_client.service_api_client import service_api_client
|
||||
from app.notify_client.template_folder_api_client import template_folder_api_client
|
||||
from app.utils import get_default_sms_sender
|
||||
from notifications_utils.serialised_model import SerialisedModelCollection
|
||||
|
||||
|
||||
class Service(JSONModel, SortByNameMixin):
|
||||
|
||||
Reference in New Issue
Block a user