mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-05-30 01:30:21 +02:00
9 lines
281 B
Python
9 lines
281 B
Python
"""Factory stub for running celery worker / celery beat."""
|
|
from celery import Celery
|
|
|
|
from onyx.background.celery.apps.beat import celery_app
|
|
from onyx.utils.variable_functionality import set_is_ee_based_on_env_variable
|
|
|
|
set_is_ee_based_on_env_variable()
|
|
app: Celery = celery_app
|