feat: initialize aivideo project
This commit is contained in:
7
backend/app/workers/tasks_video_poll.py
Normal file
7
backend/app/workers/tasks_video_poll.py
Normal file
@@ -0,0 +1,7 @@
|
||||
from app.workers.celery_app import celery_app
|
||||
|
||||
|
||||
@celery_app.task(name="video.poll")
|
||||
def poll_video_task(task_id: int) -> int:
|
||||
return task_id
|
||||
|
||||
Reference in New Issue
Block a user