Files
notifications-api/run_celery.py

14 lines
327 B
Python
Raw Normal View History

2016-02-09 13:31:45 +00:00
#!/usr/bin/env python
2025-09-24 08:34:06 -07:00
from gevent import monkey
monkey.patch_all()
2025-09-24 08:39:22 -07:00
from flask import Flask # noqa
# notify_celery is referenced from manifest_delivery_base.yml, and cannot be removed
from app import create_app, notify_celery # noqa
2023-08-29 14:54:30 -07:00
application = Flask("delivery")
create_app(application)
2016-02-09 13:31:45 +00:00
application.app_context().push()