"""Bootstrap the application for Celery.""" from os import environ from magic_app.app import celery, create_app # noqa from magic_app.config import CONFIG config = CONFIG[environ["ENV"]] app = create_app(config=config) app.app_context().push()