mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-08 14:12:27 -05:00
fix
This commit is contained in:
@@ -9,9 +9,6 @@
|
||||
|
||||
__version__ = "10.0.1"
|
||||
|
||||
import truststore
|
||||
|
||||
truststore.inject_into_ssl() # noqa
|
||||
|
||||
from notifications_python_client.errors import ( # noqa
|
||||
REQUEST_ERROR_MESSAGE,
|
||||
|
||||
@@ -1,9 +1,5 @@
|
||||
import truststore
|
||||
|
||||
truststore.inject_into_ssl() # noqa
|
||||
|
||||
import re # noqa
|
||||
from datetime import datetime, timezone # noqa
|
||||
import re
|
||||
from datetime import datetime, timezone
|
||||
|
||||
SMS_CHAR_COUNT_LIMIT = 918 # 153 * 6, no network issues but check with providers before upping this further
|
||||
LETTER_MAX_PAGE_COUNT = 10
|
||||
|
||||
@@ -1,18 +1,14 @@
|
||||
import truststore
|
||||
import uuid
|
||||
|
||||
truststore.inject_into_ssl() # noqa
|
||||
from flask import current_app
|
||||
from sqlalchemy import select
|
||||
|
||||
import uuid # noqa
|
||||
|
||||
from flask import current_app # noqa
|
||||
from sqlalchemy import select # noqa
|
||||
|
||||
from app import db # noqa
|
||||
from app.dao.api_key_dao import save_model_api_key # noqa
|
||||
from app.dao.services_dao import dao_fetch_service_by_id # noqa
|
||||
from app.enums import KeyType # noqa
|
||||
from app.models import ApiKey # noqa
|
||||
from notifications_python_client.authentication import create_jwt_token # noqa
|
||||
from app import db
|
||||
from app.dao.api_key_dao import save_model_api_key
|
||||
from app.dao.services_dao import dao_fetch_service_by_id
|
||||
from app.enums import KeyType
|
||||
from app.models import ApiKey
|
||||
from notifications_python_client.authentication import create_jwt_token
|
||||
|
||||
|
||||
def create_service_authorization_header(service_id, key_type=KeyType.NORMAL):
|
||||
|
||||
Reference in New Issue
Block a user