Files
video-gen/video-gen-api/app/tasks/__init__.py
T
2026-06-11 17:54:40 +08:00

19 lines
485 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,
shot_replicate_tasks,
shot_replicate_flow_tasks
)
except Exception:
pass