availabili.tf/backend-flask/make_celery.py

9 lines
212 B
Python
Raw Normal View History

2024-12-09 17:03:43 -08:00
from app_db import connect_celery_with_app, app, connect_db_with_app
connect_db_with_app("sqlite:///db.sqlite3", False)
2024-12-09 17:03:43 -08:00
connect_celery_with_app()
celery_app = app.extensions["celery"]
import jobs.fetch_logstf