Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose Celery Task Queue #120

Open
4 tasks
sooraj1002 opened this issue Jul 3, 2024 · 2 comments
Open
4 tasks

Expose Celery Task Queue #120

sooraj1002 opened this issue Jul 3, 2024 · 2 comments
Assignees

Comments

@sooraj1002
Copy link
Collaborator

sooraj1002 commented Jul 3, 2024

TASK

We need to expose the celery tasks which are pending for:

API Specifications:

REQUEST HEADERS

  • user-id
  • role
    [validation already handled in UserIdMixin]

RESPONSE

{
    "queued": [
        {
            "taskId": "CELERY_TASK_ID",
            "task_type": "infer from the task_name",
            "taskName": "task_name(from the Task Model)",
            "user": "user_id for user who created it",
            "taskArgs": "Expose using celery"
        },
        {
            "taskId": "CELERY_TASK_ID",
            "task_type": "infer from the task_name",
            "taskName": "task_name(from the Task Model)",
            "user": "user_id for user who created it",
            "taskArgs": "Expose using celery"
        }
    ],
    "scheduled": [
        {
            "taskId": "CELERY_TASK_ID",
            "task_type": "infer from the task_name",
            "taskName": "task_name(from the Task Model)",
            "user": "user_id for user who created it",
            "taskArgs": "Expose using celery",
            "scheduled_for": "Time in IST"
        },
        {
            "taskId": "CELERY_TASK_ID",
            "task_type": "infer from the task_name",
            "taskName": "task_name(from the Task Model)",
            "user": "user_id for user who created it",
            "taskArgs": "Expose using celery",
            "scheduled_for": "Time in IST"
        }
    ]
}
@KDwevedi KDwevedi changed the title Expose celery tasks Expose Celery Task Queue Jul 4, 2024
@ranjanmangla1
Copy link

hey @sooraj1002 , can I take this issue? I already have a lot of experience working with dramatiq (it is very close to celery)

@sooraj1002
Copy link
Collaborator Author

Sure. have assigned the ticket

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants