mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-02 17:31:14 -05:00
Fix for review comments.
This commit is contained in:
@@ -12,9 +12,6 @@ from app.aws_sqs import add_notification_to_queue
|
|||||||
from app.dao import (templates_dao, services_dao)
|
from app.dao import (templates_dao, services_dao)
|
||||||
from app.schemas import (
|
from app.schemas import (
|
||||||
email_notification_schema, sms_admin_notification_schema, sms_template_notification_schema)
|
email_notification_schema, sms_admin_notification_schema, sms_template_notification_schema)
|
||||||
import re
|
|
||||||
|
|
||||||
mobile_regex = re.compile("^\\+44[\\d]{10}$")
|
|
||||||
|
|
||||||
notifications = Blueprint('notifications', __name__)
|
notifications = Blueprint('notifications', __name__)
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,6 @@ import re
|
|||||||
from flask_marshmallow.fields import fields
|
from flask_marshmallow.fields import fields
|
||||||
from . import ma
|
from . import ma
|
||||||
from . import models
|
from . import models
|
||||||
from marshmallow_sqlalchemy.fields import Related
|
|
||||||
from marshmallow import (post_load, ValidationError, validates, validates_schema)
|
from marshmallow import (post_load, ValidationError, validates, validates_schema)
|
||||||
|
|
||||||
mobile_regex = re.compile("^\\+44[\\d]{10}$")
|
mobile_regex = re.compile("^\\+44[\\d]{10}$")
|
||||||
|
|||||||
Reference in New Issue
Block a user