A few code style tweaks to adhere to standard for better maintainable code.

This commit is contained in:
Richard Chapman
2017-10-06 17:08:06 +01:00
parent b311506f37
commit 8c5771401a
3 changed files with 31 additions and 23 deletions

View File

@@ -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