Questions tagged [celery-canvas]

19 questions
0
votes
2 answers

Python celery task canvas: SyntaxError: positional argument follows keyword argument

I have a chain of tasks that a celery worker runs. When a task is finished the chain carries forward the result of that task to the next task as a (positional) argument. Each task has it's own arguments + *args to handle the carried forward…
Aida
  • 2,174
  • 2
  • 16
  • 33
0
votes
1 answer

Celery canvas group of chains passing too many arguments to constituent tasks

I am encountering some very strange behavior with the following sort of celery workflow: workflow = group( chain(task1.s(), task2.s()), chain(task3.s(), task4.s()), ) This is in the context of django. When I call the workflow as…
samfrances
  • 3,405
  • 3
  • 25
  • 40
0
votes
0 answers

How to execute multiple queue for sequential tasks

I am stucked in a case in which a single or multiplecompany can have multiple users and all users can work on a resource but only single user can utilize resource at once while other have to be wait. So I maintain user pending task data in table and…
0
votes
1 answer

Howto use celery.set() method to update properties of abstract base class

I want to use the celery.signature().set() method to change the configuration of my task when calling it in a chain. Here's what my task looks like class MyBaseTask(Task) myconfig = None @app.task(base=MyBaseTask) def mytask(): print…
philej
  • 23
  • 4
1
2