17 lines
420 B
Python
17 lines
420 B
Python
"""Celery task module imports.
|
|
|
|
Celery autodiscover imports ``app.tasks``; importing task modules here ensures
|
|
custom named tasks are registered when workers start.
|
|
"""
|
|
|
|
try:
|
|
from app.tasks import ( # noqa: F401
|
|
generation_create_tasks,
|
|
generation_poll_tasks,
|
|
generation_download_tasks,
|
|
generation_recovery_tasks,
|
|
hot_opening_replicate_tasks
|
|
)
|
|
except Exception:
|
|
pass
|