mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-02 09:26:08 -05:00
Localize notification_utils to the API
This changeset pulls in all of the notification_utils code directly into the API and removes it as an external dependency. We are doing this to cut down on operational maintenance of the project and will begin removing parts of it no longer needed for the API. Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
import itertools
|
||||
|
||||
from flask import current_app
|
||||
from notifications_utils.recipients import allowed_to_send_to
|
||||
|
||||
from app.dao.services_dao import dao_fetch_service_by_id
|
||||
from app.enums import KeyType, RecipientType
|
||||
from app.models import ServiceGuestList
|
||||
from notifications_utils.recipients import allowed_to_send_to
|
||||
|
||||
|
||||
def get_recipients_from_request(request_json, key, type):
|
||||
|
||||
Reference in New Issue
Block a user