This commit is contained in:
Kenneth Kehl
2025-07-22 11:37:59 -07:00
parent e16c4fe277
commit 0a5cede29e
3 changed files with 11 additions and 22 deletions

View File

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

View File

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

View File

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