mirror of
https://github.com/GSA/notifications-api.git
synced 2026-08-24 08:16:19 -04:00
fix notification provider clients
This commit is contained in:
@@ -90,6 +90,9 @@ db = SQLAlchemy(
|
|||||||
}
|
}
|
||||||
)
|
)
|
||||||
migrate = None
|
migrate = None
|
||||||
|
|
||||||
|
# safe to do this for monkeypatching because all real work happens in notify_celery.init_app()
|
||||||
|
# called in create_app()
|
||||||
notify_celery = NotifyCelery()
|
notify_celery = NotifyCelery()
|
||||||
aws_ses_client = None
|
aws_ses_client = None
|
||||||
aws_ses_stub_client = None
|
aws_ses_stub_client = None
|
||||||
@@ -97,10 +100,13 @@ aws_sns_client = None
|
|||||||
aws_cloudwatch_client = None
|
aws_cloudwatch_client = None
|
||||||
encryption = None
|
encryption = None
|
||||||
zendesk_client = None
|
zendesk_client = None
|
||||||
|
# safe to do this for monkeypatching because all real work happens in redis_store.init_app()
|
||||||
|
# called in create_app()
|
||||||
redis_store = RedisClient()
|
redis_store = RedisClient()
|
||||||
document_download_client = None
|
document_download_client = None
|
||||||
|
|
||||||
|
# safe for monkey patching, all work down in
|
||||||
|
# notification_provider_clients.init_app() in create_app()
|
||||||
notification_provider_clients = NotificationProviderClients()
|
notification_provider_clients = NotificationProviderClients()
|
||||||
|
|
||||||
# LocalProxy doesn't evaluate the target immediately, but defers
|
# LocalProxy doesn't evaluate the target immediately, but defers
|
||||||
|
|||||||
Reference in New Issue
Block a user