mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-02 17:31:14 -05:00
A few code style tweaks to adhere to standard for better maintainable code.
This commit is contained in:
@@ -1,34 +1,33 @@
|
||||
from datetime import datetime
|
||||
import uuid
|
||||
|
||||
from app import db, create_random_identifier
|
||||
from app import db
|
||||
from app.dao.jobs_dao import dao_create_job
|
||||
from app.dao.service_inbound_api_dao import save_service_inbound_api
|
||||
from app.models import (
|
||||
ApiKey,
|
||||
EMAIL_TYPE,
|
||||
SMS_TYPE,
|
||||
KEY_TYPE_NORMAL,
|
||||
Service,
|
||||
User,
|
||||
Template,
|
||||
MonthlyBilling,
|
||||
Notification,
|
||||
ScheduledNotification,
|
||||
ServicePermission,
|
||||
Rate,
|
||||
Job,
|
||||
InboundSms,
|
||||
InboundNumber,
|
||||
Job,
|
||||
MonthlyBilling,
|
||||
Notification,
|
||||
NotificationEmailReplyTo,
|
||||
Organisation,
|
||||
Rate,
|
||||
Service,
|
||||
ServiceEmailReplyTo,
|
||||
ServiceInboundApi,
|
||||
ServiceLetterContact,
|
||||
ScheduledNotification,
|
||||
ServicePermission,
|
||||
ServiceSmsSender,
|
||||
Template,
|
||||
User,
|
||||
EMAIL_TYPE,
|
||||
LETTER_TYPE,
|
||||
SMS_TYPE,
|
||||
INBOUND_SMS_TYPE,
|
||||
KEY_TYPE_NORMAL,
|
||||
ServiceInboundApi,
|
||||
ServiceEmailReplyTo,
|
||||
ServiceLetterContact, ServiceSmsSender, NotificationEmailReplyTo)
|
||||
KEY_TYPE_NORMAL
|
||||
)
|
||||
from app.dao.users_dao import save_model_user
|
||||
from app.dao.notifications_dao import dao_create_notification, dao_created_scheduled_notification
|
||||
from app.dao.templates_dao import dao_create_template
|
||||
|
||||
Reference in New Issue
Block a user