-
Suppose we're running in a celery task already, and want to additional run another celery task based on some condition. A common way to do this is to call the other task from within the first with |
Beta Was this translation helpful? Give feedback.
Answered by
lukehsiao
Jul 11, 2024
Replies: 1 comment
-
Was able to solve this by just providing
However, note that we needed to use |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
sondrelg
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Was able to solve this by just providing
headers=
to the.apply()
call and grabbing that inHowever, note that we needed to use
task.request.headers.get
rather thantask.request.get
directly.