mirror of
https://github.com/GSA/notifications-api.git
synced 2026-01-31 23:26:23 -05:00
Merge branch 'master' into celery-spike
Conflicts: app/__init__.py app/notifications/rest.py config.py wsgi.py
This commit is contained in:
@@ -18,6 +18,7 @@ db = SQLAlchemy()
|
||||
ma = Marshmallow()
|
||||
notify_alpha_client = NotifyAPIClient()
|
||||
celery = NotifyCelery()
|
||||
|
||||
api_user = LocalProxy(lambda: _request_ctx_stack.top.api_user)
|
||||
|
||||
|
||||
@@ -31,7 +32,6 @@ def create_app(config_name, config_overrides=None):
|
||||
ma.init_app(application)
|
||||
init_app(application, config_overrides)
|
||||
logging.init_app(application)
|
||||
notify_alpha_client.init_app(application)
|
||||
|
||||
celery.init_app(application)
|
||||
|
||||
@@ -78,7 +78,6 @@ def init_app(app, config_overrides):
|
||||
return response
|
||||
|
||||
|
||||
|
||||
def convert_to_boolean(value):
|
||||
"""Turn strings to bools if they look like them
|
||||
|
||||
|
||||
Reference in New Issue
Block a user